/* I caratteri arrivano da css/caratteri.css, caricato dalle pagine.
   Qui c'era un @import a fonts.googleapis.com: mandava l'IP di ogni
   visitatore a Google e metteva due collegamenti sul percorso critico.
   Vedi _lavorazione/porta-caratteri-in-locale.py */

/* ===============================
        RESET E BASE
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}


body{

    font-family:var(--font-body);
    color:var(--text);
    background:var(--background);
    line-height:1.6;
    overflow-x:hidden;

}

.home-premium-page {
    background: #fcfbf8;
}

.construction-premium-page {
    background: #fcfbf8;
}


img{

    max-width:100%;
    display:block;

}


a{

    text-decoration:none;
    color:inherit;

}


ul{

    list-style:none;

}



/* ===============================
        VARIABILI
================================ */

:root{

    /* palette definitiva Costruire SRL - Fase 3.5C */
    --primary:#c9a45c;
    --primary-dark:#b78d3b;
    --primary-light:#e1bd70;

    --dark:#1d1d1b;
    --dark-soft:#252525;
    --light:#f8f7f3;
    --white:#ffffff;

    --background:#fcfbf8;
    --surface:#ffffff;
    --text:#222220;
    --text-soft:#625f59;
    --border:#e5e0d8;

    /* design system tipografico - Fase 3.3B */
    --font-heading:'Manrope', sans-serif;
    --font-body:'Inter', sans-serif;

    --text-h1:64px;
    --text-h2:42px;
    --text-h3:22px;
    --text-body:17px;

    /* design system spacing - Fase 3.5A */
    --container-width:1200px;
    --section-padding:100px;
    --grid-gap:30px;
    --content-gap:20px;

    /* design system radius - Fase 3.5A (target: sostituire 6/12/14/24/50px sparsi) */
    --radius-button:40px;
    --radius-card:20px;
    --radius-small:10px;

    /* design system shadow - Fase 3.5A, ispirate a Gli Orti / Public Health / Premium Component System */
    --shadow-soft:0 20px 45px rgba(0,0,0,0.08);
    --shadow-hover:0 25px 55px rgba(0,0,0,0.14);
    --shadow-premium:0 30px 70px rgba(0,0,0,0.18);

    /* design system transition - Fase 3.5B, applicato al Button System */
    --transition-fast:0.2s ease;
    --transition-base:0.3s ease;
    --transition-slow:0.5s ease;

}


/* ===============================================
   BUTTON SYSTEM - preparazione (Fase 3.5A)
   Non ancora applicato a .btn-primary/.btn-nav/.btn-outline.
   Struttura futura prevista:
   - Primary: var(--primary), var(--radius-button), var(--font-heading)
   - Secondary (ex .btn-outline): bordo var(--primary), sfondo trasparente
   - Navigation (ex .btn-nav): stessa altezza/radius/hover del Primary
   Tutti condivideranno: font-family, radius, transition, hover translateY.
=================================================== */


/* ===============================================
   COMPONENT SYSTEM - componenti ufficiali (Fase 3.5A)
   Non sostituiscono ancora i componenti legacy in pagina.
   - CARD:    .premium-card       (definita in Fase 3.4A)
   - GALLERY: .editorial-gallery  (definita in Fase 3.4A)
   - CTA:     .cta-premium        (definita in Fase 3.4A)
   - PROJECT: .editorial-project  (definita in Fase 3.4A)
=================================================== */

@media(max-width:1024px){
    :root{
        --text-h1:48px;
        --text-h2:34px;
    }
}

@media(max-width:768px){
    :root{
        --text-h1:36px;
        --text-h2:28px;
        --section-padding:70px;
    }
}

/* ===============================
        TIPOGRAFIA BASE
================================ */

h1{
    font-family:var(--font-heading);
    font-size:var(--text-h1);
}

h2{
    font-family:var(--font-heading);
    font-size:var(--text-h2);
}

h3{
    font-family:var(--font-heading);
    font-size:var(--text-h3);
}

p{
    font-family:var(--font-body);
    font-size:var(--text-body);
}



/* ===============================
        CONTAINER
================================ */


.container{

    width:90%;
    max-width:var(--container-width);
    margin:auto;

}



/* ===============================
        SEZIONI
================================ */


section{

    padding:var(--section-padding) 0;

}
/* ===============================
        HEADER
================================ */


.header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(255,255,255,.75);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(255,255,255,.25);

    transition:.35s ease;

}



.header.scrolled{
    background:#ffffff !important;
    box-shadow:0 10px 35px rgba(0,0,0,.08) !important;
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
}



.header .container{

    height:90px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:1600px;
    margin:0 auto;
    padding:0 24px;


    transition:.3s ease;

}



/* LOGO */

.logo img{

    width:280px;
    height:auto;
    display:block;
    transition:.3s ease;

}



/* MENU DESKTOP */


.navbar ul{

    display:flex;
    align-items:center;
    gap:45px;
    justify-content:center;
width:100%;

}



.navbar a{
    position:relative;
    display:inline-block;
    padding:8px 0;
    font-size:16px;
    font-weight:500;
    color:var(--dark);
    letter-spacing:0.5px;
    transition:color 0.3s ease;
}
.navbar a.active{
    color:var(--primary);
    font-weight:700;
}

.navbar a.active::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:28px;
    height:2px;
    border-radius:10px;
    background:var(--primary);
    transform:translateX(-50%);
}


.navbar a:hover{

    color:var(--primary);

}



/* BOTTONE HEADER */


.btn-nav{

    background:var(--primary);
    color:#fff;
    padding:14px 28px;
    border-radius:var(--radius-button);
    font-family:var(--font-heading);
    font-weight:700;
    transition:var(--transition-base);
    text-decoration:none;

}

.btn-nav:hover{

    background:var(--primary-dark);
    transform:translateY(-3px);
    box-shadow:var(--shadow-hover);

}

  




.btn-nav:hover{

    transform:translateY(-3px);

}



/* MENU MOBILE NASCOSTO */

.menu-toggle{

    display:none;

}
/* ===============================
        HERO
================================ */


.hero{

    min-height:100vh;
  background:
linear-gradient(
rgba(10,10,10,.60),
rgba(20,20,20,.35)
),
url("../img/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;

}



.hero-content{

    max-width:800px;
    color:white;

}



.hero-small{

    font-size:18px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:var(--primary);
    margin-bottom:20px;

}



.hero h1{

    font-size:72px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-2px;
    margin-bottom:30px;

}



.hero p{

    font-size:22px;
    line-height:1.8;
    max-width:680px;
    margin-bottom:45px;
    color:rgba(255,255,255,.92);

}



/* BOTTONI HERO */


.hero-buttons{

    display:flex;
    gap:20px;

}



.btn-primary{

    display:inline-block;

    background:var(--primary);
    color:white;

    padding:18px 42px;

    border-radius:var(--radius-button);

    font-family:var(--font-heading);
    font-size:16px;
    font-weight:700;
    letter-spacing:.5px;

    transition:var(--transition-base);

}
.btn-primary:hover{

    background:var(--primary-dark);
    transform:translateY(-5px) scale(1.03);

    box-shadow:var(--shadow-hover);

}





.btn-whatsapp{

    background:#25D366;
    color:white;

    padding:16px 35px;
    border-radius:30px;

    font-weight:600;

    display:inline-block;

    transition:.3s;

}


.btn-whatsapp:hover{

    transform:translateY(-3px);

}



.btn-outline{

    border:2px solid var(--primary);
    color:var(--primary);
    padding:16px 35px;
    border-radius:var(--radius-button);
    font-family:var(--font-heading);
    font-weight:700;
    transition:var(--transition-base);

}



.btn-outline:hover{

    background:var(--primary);
    color:var(--dark);

}
/* ===============================
        ABOUT / CHI SIAMO
================================ */


.about{

    background:white;

}



.about-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}


.about-image{

    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;

    padding:0;

}
.about-image::before{

    content:"";

    position:absolute;

   top:-18px;
right:-18px;
left:auto;

width:100%;
height:100%;

    background:var(--primary);

    border-radius:24px;

    z-index:-1;

}
.about-image img{
    

    width:100%;
    height:540px;

    object-fit:cover;
    object-position:center;

    border-radius:24px;

    display:block;

    box-shadow:0 30px 70px rgba(0,0,0,.18);

    transition:.4s ease;
}




.section-subtitle{

    color:var(--primary);
    font-weight:600;
    letter-spacing:2px;
    font-size:14px;

}



.about-content h2{

    font-size:45px;
    line-height:1.2;
    color:var(--dark);
    margin:20px 0 25px;

}



.about-content p{

    font-size:17px;
    color:var(--text-soft);
    margin-bottom:35px;

}



/* STATISTICHE */


.stats-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}



.stat{

    text-align:center;
    transition:.35s ease;

}
.stat:hover{

    transform:translateY(-8px);

}



.stat h3{

    font-size:54px;
    color:var(--primary);
    font-weight:800;
    line-height:1;
    margin-bottom:12px;
    transition:.35s ease;

}



.stat p{

    font-size:14px;
    color:var(--text-soft);

}

/* =========================
   PARCO MACCHINE
========================= */

.machine-park{
    background:white;
}

.machine-park-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    align-items:center;
    gap:70px;
}

.machine-park-image img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

.machine-park-content h2{
    font-size:45px;
    line-height:1.15;
    color:var(--dark);
    margin:18px 0 25px;
}
.machine-park-content h2::after{
    content:"";
    display:block;
    width:70px;
    height:4px;
    background:var(--primary);
    border-radius:10px;
    margin-top:22px;
}
.machine-park-content p{
    font-size:17px;
    line-height:1.8;
    color:var(--text-soft);
    margin-bottom:18px;
}
.machine-park-features{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin:28px 0 30px;
}

.machine-feature{
    display:flex;
    align-items:center;
    gap:14px;
}

.machine-feature i{
    width:30px;
    height:30px;
    min-width:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:var(--primary);
    background:rgba(200,164,93,0.10);
    border:1px solid rgba(200,164,93,0.30);
    font-size:12px;
}

.machine-feature strong{
    color:var(--dark);
    font-size:16px;
    line-height:1.5;
    font-weight:700;
}
.machine-park-content .btn-primary{
    display:inline-flex;
    margin-top:15px;
}
/* ===============================
        SERVIZI
================================ */


.services{

    background:var(--light);

}



.section-title{

    text-align:center;
    font-size:45px;
    color:var(--dark);
    margin-bottom:60px;

}

.section-title h2{

    font-size:var(--text-h2);
    line-height:1.15;

}



.services-grid{

    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:28px;

}


.service-card{

    background:white;

    padding:50px 35px;

    border-radius:24px;

    text-align:center;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:0 20px 45px rgba(0,0,0,.05);

    transition:all .35s ease;

}



.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    border-color:rgba(201,164,92,.25);

}



.service-card i{

    width:80px;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 auto 30px;

    font-size:34px;

    color:var(--primary);

    background:rgba(201,164,92,.12);

    border-radius:50%;

    transition:all .35s ease;

}
.service-card:hover i{

    background:var(--primary);

    color:white;

    transform:rotate(-8deg) scale(1.08);

}



.service-card h3{

    font-size:24px;
    color:var(--dark);
    margin-bottom:15px;

}



.service-card p{

    color:var(--text-soft);
    font-size:16px;

}
/* ===============================
        PROGETTI
================================ */


/* ===============================
        RESIDENZA GLI ORTI
================================ */


.residenza{

    background:linear-gradient(
        180deg,
        #ffffff 0%,
        var(--light) 100%
    );

}



.residenza-grid{

    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:90px;
    align-items:center;

}



.residenza-image img{

    width:100%;
    height:650px;
    object-fit:cover;
    display:block;

    border-radius:24px;

    box-shadow:0 30px 70px rgba(0,0,0,.18);

    transition:.4s ease;
    cursor:pointer;

}

.residenza-image img:hover{

    transform:scale(1.03) rotate(-1deg);

}

    





.residenza-content h2{

    font-size:52px;
    line-height:1.1;
    font-weight:800;
    letter-spacing:-1px;
    color:var(--dark);
    margin-bottom:20px;

}
.residenza-content h2::after{

    content:"";

    display:block;

    width:70px;

    height:4px;

    background:var(--primary);

    border-radius:10px;

    margin-top:18px;

}


.residenza-content p{

    font-size:18px;
    line-height:1.8;
    color:var(--text-soft);
    margin-bottom:35px;
    max-width:550px;

}

.premium-list{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin:30px 0 35px;
}

.premium-list i{
    flex:0 0 28px;
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:1px;
    border-radius:50%;
    background:rgba(199,160,82,0.12);
    border:1px solid rgba(199,160,82,0.18);
    color:var(--primary);
    font-size:12px;
}



.premium-list li{
    display:flex;
    align-items:flex-start;
    gap:13px;
    margin-bottom:0;
    font-size:17px;
    font-weight:600;
    line-height:1.55;
    color:var(--dark);
}
/* ===============================
        CONTATTI
================================ */


.contact{

    background:white;

}



.contact-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:start;

}



.contact-info h2{

    font-size:45px;
    color:var(--dark);
    margin-bottom:20px;

}



.contact-info p{

    color:var(--text-soft);
    margin-bottom:30px;

}



.contact-item{

    margin-bottom:20px;
    font-size:17px;

}



.contact-item i{

    color:var(--primary);
    margin-right:10px;

}



/* FORM */


.contact-form{

    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);

}



.contact-form form{

    display:flex;
    flex-direction:column;
    gap:20px;

}



.contact-form input,
.contact-form textarea{

    width:100%;
    padding:18px 22px;

    border:2px solid #ececec;
    border-radius:14px;

    background:#fafafa;

    font-family:var(--font-body);
    font-size:16px;

    transition:.3s ease;

}
.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:#c9a45c;

    background:#fff;

    box-shadow:0 0 0 5px rgba(201,164,92,.15);

}



.contact-form textarea{

    height:150px;
    resize:none;

}



.contact-form button{

    background:linear-gradient(135deg,#c9a45c,#b78d3b);
    color:#fff;

    border:none;
    border-radius:14px;

    padding:18px;

    font-size:16px;
    font-weight:700;
    letter-spacing:.5px;

    cursor:pointer;

    transition:.35s ease;

    box-shadow:0 15px 35px rgba(183,141,59,.25);

}

.contact-form button:hover{

    transform:translateY(-4px);

    box-shadow:0 25px 45px rgba(183,141,59,.35);

}

.contact-form button:active{

    transform:translateY(-1px);

}



/* ===============================
        FOOTER
================================ */



    .footer{

    background:var(--dark);

    color:#fff;

    padding:80px 0 30px;

}




.footer p{

    color:#bbb;

}
.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    align-items:flex-start;

}

.footer-logo img{
    width:220px;
    max-width:none;
    height:auto;
    display:block;
    transform:scale(3);
    transform-origin:left center;
    margin-top:45px;
    margin-bottom:110px;
    
}

.footer-logo p{

    max-width:320px;

    line-height:1.8;

}

.footer-links h3,
.footer-contact h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:22px;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-links a{

    color:#ddd;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--primary);

}

.footer-contact p{

    margin-bottom:15px;

    line-height:1.8;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.1);

    margin-top:60px;

    padding-top:25px;

    text-align:center;

    color:#999;

}
/* MENU MOBILE ANCHE SU TABLET (769px-1024px): evita che il nav desktop
   in flex vada in overflow prima del breakpoint da 1025px */
@media (min-width:769px) and (max-width:1024px){

    .header .container{
        height:82px;
        padding:0 28px;
    }

    .logo img{
        width:190px;
    }

    .btn-nav{
        padding:11px 20px;
        font-size:14px;
        white-space:nowrap;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;

        width:48px;
        height:48px;
        flex:0 0 48px;
        padding:0;

        background:rgba(255,255,255,.92);
        border:1px solid rgba(201,164,92,.35);
        border-radius:14px;

        color:#1f1f1f;
        font-size:22px;

        box-shadow:0 8px 22px rgba(0,0,0,.10);

        cursor:pointer;
        z-index:2000;
    }

    .navbar{

        display:block;
        visibility:hidden;
        opacity:0;
        pointer-events:none;
        transform:translateY(-8px);

        position:absolute;
        top:88px;
        right:24px;

        background:rgba(255,255,255,.98);
        -webkit-backdrop-filter:blur(15px);
        backdrop-filter:blur(15px);

        width:320px;

        padding:26px;

        border-radius:16px;
        border:1px solid rgba(0,0,0,.05);

        box-shadow:0 20px 50px rgba(0,0,0,.16);

        transition:opacity .25s ease, transform .25s ease, visibility .25s ease;

    }

    .navbar.active{
        visibility:visible;
        opacity:1;
        pointer-events:auto;
        transform:translateY(0);
    }

    .navbar ul{
        flex-direction:column;
        gap:8px;
    }

    .navbar ul li a{
        display:flex;
        align-items:center;
        min-height:48px;
        padding:6px 8px;
        font-size:16px;
    }

}


/* ===============================
        MOBILE
================================ */


@media(max-width:768px){
    .hero-project{
    height:auto;
    min-height:620px;
}

.hero-project-overlay{
    padding-top:90px;
}

.hero-project h1{
    font-size:42px;
    line-height:1.1;
    letter-spacing:-1px;
}

.hero-project p{
    font-size:17px;
    line-height:1.7;
}


.container{

    width:90%;

}
.footer{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden;
    box-sizing:border-box;
}

.footer .container{
    width:100% !important;
    max-width:100% !important;
    padding:0 25px !important;
    box-sizing:border-box;
}

.footer-grid{
    display:block !important;
    width:100% !important;
}

.footer-logo,
.footer-contact,
.footer-links{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    text-align:center !important;
    margin:0 0 40px 0 !important;
    box-sizing:border-box;
}

.footer-logo img{
    transform:none !important;
    width:220px !important;
    max-width:80% !important;
    height:auto !important;
    margin:0 auto 25px !important;
}

.footer-logo p{
    max-width:100% !important;
    margin:0 auto !important;
}

.footer-contact p{
    justify-content:center;
}

.footer-links{
    align-items:center;
}

.footer-bottom{
    width:100%;
    text-align:center;
}


/* HEADER */

.header .container{


    height:72px;
    gap:12px;
    padding:0 18px;

}


.logo img{

    width:170px;

}
.btn-nav{
    padding:9px 16px;
    font-size:13px;
    line-height:1.2;
    border-radius:var(--radius-button);
    white-space:nowrap;
}



.navbar{

    display:block;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(-8px);

    position:absolute;
    top:75px;
    right:20px;
    left:20px;

    background:rgba(255,255,255,.98);
-webkit-backdrop-filter:blur(15px);
backdrop-filter:blur(15px);

    max-width:280px;
    margin-left:auto;

    max-height:calc(100vh - 100px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;

    padding:20px;

    border-radius:15px;
    border:1px solid rgba(0,0,0,.05);

    box-shadow:0 15px 40px rgba(0,0,0,.15);

    transition:opacity .25s ease, transform .25s ease, visibility .25s ease;

}



.navbar.active{

    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);

}



.navbar ul{

    flex-direction:column;
    gap:6px;

}

.navbar ul li a{

    display:flex;
    align-items:center;
    min-height:46px;
    padding:4px 6px;
    font-size:16px;

}
.menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;

    width:46px;
    height:46px;
    flex:0 0 46px;
    padding:0;

    background:rgba(255,255,255,.92);
    border:1px solid rgba(201,164,92,.35);
    border-radius:14px;

    color:#1f1f1f;
    font-size:21px;

    box-shadow:0 8px 22px rgba(0,0,0,.10);

    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);

    cursor:pointer;
    z-index:2000;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease;
}


/* HERO */


.hero{

    min-height:90vh;

    text-align:center;

}



.hero h1{

    font-size:38px;

}



.hero p{

    font-size:16px;

}



.hero-buttons{

    flex-direction:column;

}



/* SEZIONI */


section{

    padding:var(--section-padding) 0;

}



/* ABOUT */


.about-grid{

    grid-template-columns:1fr;

}



.about-content h2{

    font-size:32px;

}



.stats-grid{

    grid-template-columns:1fr 1fr;

}



/* SERVIZI */


.services-grid{

    grid-template-columns:1fr;

}
.reviews-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:25px !important;
}

.review-card{
    width:100% !important;
    padding:30px 25px !important;
}








.section-title{

    font-size:34px;

}



/* RESIDENZA */


.residenza-grid{

    grid-template-columns:1fr;

}



.residenza-content h2{

    font-size:34px;

}



/* CONTATTI */


.contact-grid{

    grid-template-columns:1fr;

}



.contact-form{

    padding:25px;

}

.footer-grid{

    grid-template-columns:1fr;
    gap:40px;
    text-align:center;

}

.footer-logo p{

    max-width:100%;

}
/* PAGINE PROGETTO - CORREZIONE MOBILE */

.why-grid,
.advantages-grid,
.process-grid{
    grid-template-columns:1fr !important;
    width:100%;
}

.why-content,
.why-boxes,
.advantage-card,
.process-card{
    width:100%;
    max-width:100%;
}

.hero-project h1,
.section-title,
.why-content h2,
.cta-box h2{
    font-size:34px;
    line-height:1.15;
    overflow-wrap:anywhere;
}


.hero-project p,
.project-content p{
    font-size:16px;
    line-height:1.7;
}

.why-box,
.advantage-card,
.process-card,
.gallery-item{
    margin:0 auto;
}

body{
    overflow-x:hidden;
}
}



.why-us{

    background:white;

}



.why-grid{

    display:grid;
    grid-template-columns:1fr;
    gap:70px;
    align-items:center;

}



.why-content h2{

    font-size:45px;
    line-height:1.2;
    color:var(--dark);
    margin:20px 0 25px;

}



.why-content p{

    color:var(--text-soft);
    font-size:17px;

}



/* BOX */

.why-boxes{

    display:grid;
    grid-template-columns:1fr;
    gap:25px;

}



.why-box{

    background:var(--light);

    padding:30px;

    border-radius:20px;

    transition:.3s;

}



.why-box:hover{

    transform:translateY(-8px);

}



.why-box i{

    font-size:35px;
    color:var(--primary);
    margin-bottom:15px;

}



.why-box h3{

    font-size:22px;
    color:var(--dark);
    margin-bottom:10px;

}



.why-box p{

    color:var(--text-soft);

}
/* ===============================
        RECENSIONI
================================ */


.reviews{

    background:var(--light);

}



.reviews .section-title{

    margin-bottom:60px;

}



.reviews-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}


.stars{
    color:#c9a45c;
    font-size:22px;
    letter-spacing:4px;
    margin-bottom:20px;
}
.review-card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.06);

    text-align:center;
    position:relative;
overflow:hidden;
transition:.35s ease;

}
.review-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

}

.review-card:hover .stars{

    transform:scale(1.08);

    transition:.35s ease;

}


.review-card p{

    color:var(--text-soft);

    font-size:16px;

    font-style:italic;

    margin-bottom:25px;

}



.review-card h3{

    color:var(--dark);

    font-size:18px;

    margin-bottom:5px;

}



.review-card span{

    color:var(--primary);

    font-size:14px;

}
/* ===============================
        WHY US
================================ */

.why-us{

    background:white;

}

.why-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}
.why-content h2{

    font-size:52px;

    line-height:1.15;

    font-weight:800;

    color:var(--dark);

    margin:20px 0 30px;

}

.why-content p{

    font-size:18px;

    line-height:1.9;

    color:var(--text-soft);

    max-width:550px;

}
.why-boxes{

    display:grid;

    gap:25px;

}
.why-box{

    background:white;

    padding:35px;

    border-radius:22px;

    border:1px solid rgba(0,0,0,.06);

    box-shadow:0 15px 35px rgba(0,0,0,.06);

    transition:all .35s ease;

    cursor:pointer;

}
.why-box:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    border-color:rgba(201,164,92,.30);

}
.why-box i{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(201,164,92,.12);

    color:var(--primary);

    border-radius:50%;

    font-size:28px;

    margin-bottom:25px;

    transition:all .35s ease;

}
.why-box:hover i{

    background:var(--primary);

    color:white;

    transform:rotate(-10deg) scale(1.08);

}
.why-box h3{

    font-size:24px;

    font-weight:700;

    color:var(--dark);

    margin-bottom:12px;

}

.why-box p{

    font-size:16px;

    line-height:1.8;

    color:var(--text-soft);

}
/* =====================================
        ANIMAZIONI SCROLL
===================================== */

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}
/* =======================================
   FOOTER
======================================= */

.footer{

    background:#151515;
    color:#fff;
    padding:70px 0 0;

}

.footer-grid{

    display:grid;
    grid-template-columns:2fr 1fr 1.5fr;
    gap:60px;

}

.footer-logo img{

    width:170px;
    margin-bottom:20px;

}

.footer-logo p{

    color:#cfcfcf;
    line-height:1.8;

}

.footer-links h3,
.footer-contact h3{

    margin-bottom:25px;
    font-size:22px;

}

.footer-links{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.footer-links a{

    color:#d7d7d7;
    text-decoration:none;
    transition:.3s;

}

.footer-links a:hover{

    color:#c9a45c;
    padding-left:8px;

}

.footer-contact p{

    color:#d7d7d7;
    margin-bottom:16px;

}

.footer-contact i{

    color:#c9a45c;
    width:28px;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.1);
    margin-top:60px;
    padding:25px 0;
    text-align:center;
    color:#bdbdbd;
    font-size:14px;

}
/* ========================= */
/* SHOWCASE */
/* ========================= */

.showcase{
    padding:120px 0;
    background:var(--light);
}

.showcase .section-subtitle{
    display:block;
    text-align:center;
    color:var(--primary);
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:15px;
}

.showcase .section-title{
    text-align:center;
    font-size:42px;
    margin-bottom:60px;
}

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

.showcase-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    height:500px;
    cursor:pointer;
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.showcase-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.showcase-card:hover img{
    transform:scale(1.08);
}

.showcase-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:35px;
    color:#fff;
    background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.2));
}

.showcase-overlay h3{
    font-size:28px;
    margin-bottom:10px;
}

.showcase-overlay p{
    font-size:16px;
    line-height:1.6;
}

@media(max-width:992px){

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

.showcase-card{
height:400px;
}

}
/* =======================================
   PAGINA PROGETTO
======================================= */

.hero-project{
    position:relative;
    height:86vh;
    min-height:680px;
    overflow:hidden;
    background-color:#141311;
}

.hero-project img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.02);
}
.machine-park-page-hero > img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.02);
}
.hero-project-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(100deg, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0.5) 42%, rgba(5,5,5,0.16) 75%, rgba(5,5,5,0.34) 100%);
    display:flex;
    align-items:flex-end;
    padding-bottom:90px;
}

.hero-project span{
    display:inline-block;
    color:var(--primary);
    letter-spacing:3px;
    font-weight:700;
    font-size:13px;
    text-transform:uppercase;
    margin-bottom:4px;
}

.hero-project h1{
    font-family:var(--font-heading);
    color:#fff;
    font-size:clamp(2.2rem, 4vw, 4rem);
    max-width:800px;
    margin:18px 0 20px;
    line-height:1.1;
    letter-spacing:-0.02em;
}

.hero-project p{
    font-family:var(--font-body);
    color:rgba(255,255,255,0.92);
    max-width:640px;
    font-size:clamp(1rem, 1.1vw, 1.15rem);
    line-height:1.8;
}

/* hero rinforzata per progetto flagship / prodotto esclusivo */
.orti-page .hero-project,
.garden-page .hero-project{
    height:92vh;
    min-height:720px;
}

/*===========================
    VANTAGGI
===========================*/

.advantages{

    padding:120px 0;
    background:var(--light);

}

.advantages-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;

    margin-top:70px;

}

.advantage-card{
    min-height:320px;
    padding:42px 32px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    text-align:center;
    box-shadow:0 16px 40px rgba(29,29,27,0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.advantage-card:hover{
    transform:translateY(-8px);
    border-color:rgba(199,160,82,0.28);
    box-shadow:0 24px 55px rgba(29,29,27,0.12);
}

.advantage-icon{
    width:70px;
    height:70px;
    margin-bottom:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(199,160,82,0.12);
    color:var(--primary);
    border:1px solid rgba(199,160,82,0.18);
}

.advantage-icon i{
    font-size:27px;
    color:inherit;
}

.advantage-card h3{

    font-size:24px;

    margin-bottom:18px;

}

.advantage-card p{

    color:var(--text-soft);

    line-height:1.8;

}
/*===========================
      GALLERIA
===========================*/

.home-premium-page .hero {
    min-height: 100vh;
    background:
        linear-gradient(100deg, rgba(6,6,6,0.82) 0%, rgba(8,8,8,0.55) 38%, rgba(10,10,10,0.15) 70%, rgba(10,10,10,0.36) 100%),
        url("../img/hero.jpg") center 38%/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 120px;
}

.home-premium-page .home-hero-content {
    max-width: 760px;
    padding: 38px 0 0;
}

.home-premium-page .home-hero-small {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    letter-spacing: 0.28em;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home-premium-page .hero h1 {
    font-size: clamp(2.9rem, 5vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0 0 22px;
    color: #fff;
}

.home-premium-page .hero p {
    max-width: 700px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
}

.home-premium-page .hero-buttons {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.home-premium-page .hero .btn-primary,
.home-premium-page .hero .btn-outline {
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-premium-page .hero .btn-primary {
    background: var(--primary);
    color: #fff;
}

.home-premium-page .hero .btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
}

.home-premium-page .home-about {
    padding: 138px 0;
    background: linear-gradient(180deg, #fcfbf8 0%, #f3e8d9 100%);
}

.home-premium-page .about-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 70px;
    align-items: center;
}

.home-premium-page .about-image {
    position: relative;
    padding: 0;
}

.home-premium-page .about-image::before {
    content: "";
    position: absolute;
    inset: -20px -20px -20px auto;
    width: 88%;
    height: 100%;
    background: linear-gradient(140deg, rgba(201,164,92,0.18), rgba(201,164,92,0.06));
    border-radius: 34px;
    z-index: 0;
}

.home-premium-page .about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 34px 80px rgba(29,29,27,0.16);
    border: 1px solid rgba(29,29,27,0.06);
}

.home-premium-page .about-content {
    padding: 8px 0 8px 10px;
    max-width: 620px;
}

.home-premium-page .about-content h2 {
    font-size: clamp(2.15rem, 2.55vw, 2.95rem);
    line-height: 1.12;
    margin: 16px 0 24px;
    color: #171716;
    letter-spacing: -0.025em;
    font-weight: 700;
}

.home-premium-page .about-content h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.home-premium-page .about-content p {
    line-height: 1.95;
    color: #59534d;
    font-size: 1rem;
    max-width: 560px;
}

.home-premium-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.home-premium-page .stat {
    position: relative;
    padding: 24px 20px 22px;
    border-radius: 22px;
    text-align: left;
    overflow: hidden;
    border: 1px solid rgba(201,164,92,0.24);
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,239,227,0.88));
    box-shadow: 0 14px 30px rgba(29,29,27,0.05);
}

.home-premium-page .stat::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.home-premium-page .stat h3 {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
    font-weight: 700;
}

.home-premium-page .stat p {
    font-size: 0.95rem;
    color: #615c55;
    line-height: 1.5;
    margin: 0;
}

.home-premium-page .machine-park {
    padding: 100px 0;
    background: #151515;
    color: #f8efe3;
}

.home-premium-page .machine-park-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: center;
}

.home-premium-page .machine-park-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.24);
}

.home-premium-page .machine-park-content h2 {
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    line-height: 1.15;
    margin: 16px 0 18px;
    color: #ffffff;
}

.home-premium-page .machine-park-content p {
    color: rgba(255,255,255,0.86);
    line-height: 1.85;
    margin-bottom: 16px;
}

.home-premium-page .machine-park-features {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
}

.home-premium-page .machine-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
}

.home-premium-page .machine-feature i {
    color: var(--primary);
}

.home-premium-page .machine-park-content .machine-feature strong {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
}

.home-premium-page .machine-park-content .section-subtitle {
    color: rgba(255,255,255,0.84);
}

.home-premium-page .home-services {
    padding: 110px 0;
    background: #fcfbf8;
}

.home-premium-page .services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.home-premium-page .service-card {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(29,29,27,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-premium-page .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(29,29,27,0.09);
    border-color: rgba(199,160,82,0.28);
}

.home-premium-page .service-card i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(199,160,82,0.12);
    color: var(--primary);
    margin-bottom: 16px;
}

.home-premium-page .home-residenza {
    padding: 120px 0;
    background: #fcfbf8;
}

.home-premium-page .residenza-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 46px;
    align-items: center;
}

.home-premium-page .residenza-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(29,29,27,0.14);
}

.home-premium-page .residenza-content h2 {
    font-size: clamp(2rem, 2.5vw, 2.7rem);
    line-height: 1.16;
    margin: 16px 0 18px;
}

.home-premium-page .home-why {
    padding: 110px 0;
    background: #111111;
    color: #f7efe4;
}

.home-premium-page .why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.home-premium-page .why-content {
    color: #f7efe4;
}

.home-premium-page .why-content .section-subtitle {
    color: rgba(255,255,255,0.84);
}

.home-premium-page .why-content h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.home-premium-page .why-content p {
    color: rgba(255,255,255,0.84);
    line-height: 1.8;
}

.home-premium-page .why-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-premium-page .why-box {
    padding: 24px;
    border: 1px solid rgba(199,160,82,0.24);
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    color: #f7efe4;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.home-premium-page .why-box i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.home-premium-page .why-box h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.home-premium-page .why-box p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.home-premium-page .home-showcase {
    padding: 110px 0;
    background: #fcfbf8;
}

.home-premium-page .showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.home-premium-page .showcase-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(29,29,27,0.08);
}

.home-premium-page .showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-premium-page .showcase-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, rgba(5,5,5,0.02) 0%, rgba(5,5,5,0.75) 100%);
    color: #fff;
}

.home-premium-page .home-reviews {
    padding: 110px 0;
    background: linear-gradient(180deg, #f8efe3 0%, #fcfbf8 100%);
}

.home-premium-page .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.home-premium-page .review-card {
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(29,29,27,0.05);
}

.home-premium-page .stars {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}

.home-premium-page .home-contact {
    padding: 120px 0;
    background: #111111;
    color: #f8efe3;
}

.home-premium-page .contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
}

.home-premium-page .contact-info h2,
.home-premium-page .contact-form button {
    color: #fff;
}

.home-premium-page .contact-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 28px;
    border-radius: 24px;
}

.home-premium-page .contact-form input,
.home-premium-page .contact-form textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}

.home-premium-page .contact-form button {
    background: var(--primary);
    border-radius: 999px;
    padding: 14px 26px;
}

.home-premium-page .footer {
    background: #0e0e0e;
    color: rgba(255,255,255,0.84);
}

.home-premium-page .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 24px;
}

.home-premium-page .footer-links a,
.home-premium-page .footer-contact a {
    color: rgba(255,255,255,0.84);
}

.home-premium-page .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
}

.home-premium-page .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.home-premium-page .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px){
    .home-premium-page .about-grid,
    .home-premium-page .machine-park-grid,
    .home-premium-page .residenza-grid,
    .home-premium-page .why-grid,
    .home-premium-page .contact-grid {
        grid-template-columns: 1fr;
    }

    .home-premium-page .services-grid,
    .home-premium-page .showcase-grid,
    .home-premium-page .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-premium-page .why-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px){
    .home-premium-page .hero {
        padding: 120px 0 80px;
    }

    .home-premium-page .services-grid,
    .home-premium-page .showcase-grid,
    .home-premium-page .reviews-grid,
    .home-premium-page .why-boxes {
        grid-template-columns: 1fr;
    }

    .home-premium-page .about-image img,
    .home-premium-page .machine-park-image img,
    .home-premium-page .residenza-image img {
        height: 360px;
    }

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

@media (max-width: 480px){
    .home-premium-page .hero h1 {
        font-size: 2.2rem;
    }

    .home-premium-page .about-content h2,
    .home-premium-page .machine-park-content h2,
    .home-premium-page .residenza-content h2 {
        font-size: 1.8rem;
    }
}

.construction-premium-page .hero-project {
    height: 82vh;
    min-height: 680px;
    position: relative;
    overflow: hidden;
}

.construction-premium-page .hero-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.construction-premium-page .hero-project-overlay {
    background: linear-gradient(90deg, rgba(5,5,5,0.78) 0%, rgba(5,5,5,0.45) 55%, rgba(5,5,5,0.18) 100%);
    align-items: flex-end;
    padding-bottom: 70px;
}

.construction-premium-page .hero-project .container {
    max-width: 1280px;
}

.construction-premium-page .construction-hero-copy {
    max-width: 760px;
    padding: 40px 0 0;
}

.construction-premium-page .construction-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.construction-premium-page .hero-project h1 {
    font-size: clamp(2.6rem, 4vw, 4.3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 760px;
    margin: 0 0 22px;
}

.construction-premium-page .hero-project p {
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.8;
    max-width: 660px;
    color: rgba(255,255,255,0.9);
}

.construction-premium-page .construction-intro {
    padding: 120px 0 90px;
    background: linear-gradient(180deg, #fcfbf8 0%, #f7f2e8 100%);
}

.construction-premium-page .construction-intro-header {
    max-width: 900px;
    margin-bottom: 56px;
}

.construction-premium-page .construction-intro-header h2 {
    font-size: clamp(2rem, 2.6vw, 2.8rem);
    line-height: 1.18;
    margin-bottom: 20px;
    color: #171716;
}

.construction-premium-page .construction-intro-header p {
    font-size: 1.06rem;
    line-height: 1.85;
    color: #5f5a53;
    max-width: 760px;
}

.construction-premium-page .construction-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.construction-premium-page .construction-feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px 24px 26px;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 241, 229, 0.96)
    );

  border: 1px solid rgba(197, 145, 51, 0.22);
  border-radius: 20px;

  box-shadow:
    0 18px 48px rgba(29, 29, 27, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transform: translateY(0);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms ease,
    border-color 320ms ease,
    background 320ms ease;
}

.construction-premium-page .construction-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(210, 166, 74, 0.12),
      transparent 34%
    );

  opacity: 0.75;
  transition: opacity 320ms ease;
}

.construction-premium-page .construction-feature-icon {
  position: relative;
  z-index: 2;

  width: 54px;
  height: 54px;
  margin-bottom: 22px;

  display: inline-grid;
  place-items: center;

  color: var(--primary-dark);
  background: rgba(210, 166, 74, 0.1);

  border: 1px solid rgba(210, 166, 74, 0.32);
  border-radius: 50%;

  box-shadow:
    0 8px 22px rgba(210, 166, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition:
    color 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
}

.construction-premium-page .construction-feature-icon svg {
  width: 27px;
  height: 27px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    stroke 320ms ease,
    fill 320ms ease;
}

.construction-premium-page .construction-feature-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 12px;

  color: #171613;
  font-family:var(--font-body);
  font-size: clamp(1.15rem, 1.3vw, 1.42rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;

  transition:
    color 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.construction-premium-page .construction-feature-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: #5f5b53;
  font-family:var(--font-body);
  font-size: 0.92rem;
  font-weight: 430;
  line-height: 1.7;

  transition:
    color 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .construction-premium-page .construction-feature-card:hover {
    transform: translateY(-9px);

    background:
      linear-gradient(
        145deg,
        #1b1a17,
        #11110f
      );

    border-color: rgba(226, 184, 93, 0.75);

    box-shadow:
      0 30px 60px rgba(29, 29, 27, 0.2),
      0 0 0 1px rgba(210, 166, 74, 0.08);
  }

  .construction-premium-page .construction-feature-card:hover::before {
    opacity: 1;
  }

  .construction-premium-page .construction-feature-card:hover
    .construction-feature-icon {
    color: #171613;
    background: #d2a64a;
    border-color: #e6c578;

    transform: translateY(-3px) scale(1.07);

    box-shadow:
      0 0 0 6px rgba(210, 166, 74, 0.09),
      0 14px 30px rgba(210, 166, 74, 0.24);
  }

  .construction-premium-page .construction-feature-card:hover
    .construction-feature-icon svg {
    transform: scale(1.08);
  }

  .construction-premium-page .construction-feature-card:hover h3 {
    color: #fffaf0;
    transform: translateY(-2px);
  }

  .construction-premium-page .construction-feature-card:hover p {
    color: rgba(255, 255, 255, 0.78);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .construction-premium-page .construction-feature-card,
  .construction-premium-page .construction-feature-icon,
  .construction-premium-page .construction-feature-icon svg,
  .construction-premium-page .construction-feature-card h3,
  .construction-premium-page .construction-feature-card p {
    transition-duration: 0.01ms;
  }

  .construction-premium-page .construction-feature-card:hover {
    transform: none;
  }

  .construction-premium-page .construction-feature-card:hover
    .construction-feature-icon {
    transform: none;
  }
}

.construction-premium-page .construction-editorial-block {
    padding: 70px 0;
}

.construction-premium-page .construction-editorial-block--light {
    background: #fcfbf8;
}

.construction-premium-page .construction-editorial-block--dark {
    background: #111111;
    color: #f5efe3;
}

.construction-premium-page .construction-editorial-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 46px;
    align-items: center;
}

.construction-premium-page .construction-editorial-grid--reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.construction-premium-page .construction-editorial-grid--reverse .construction-editorial-media {
    order: 2;
}

.construction-premium-page .construction-editorial-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 28px 72px rgba(0,0,0,0.16);
}

.construction-premium-page .construction-editorial-copy {
    padding: 20px 0;
}

.construction-premium-page .construction-editorial-copy h3 {
    font-size: clamp(1.75rem, 2.2vw, 2.35rem);
    line-height: 1.2;
    margin: 0 0 18px;
}

.construction-premium-page .construction-editorial-copy p {
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 14px;
    color: inherit;
    opacity: 0.86;
}

.construction-premium-page .construction-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.construction-premium-page .construction-link::after {
    content: "→";
    font-size: 1rem;
}

.construction-premium-page .construction-portfolio {
    padding: 110px 0 120px;
    background: #f7f2e8;
}

.construction-premium-page .construction-portfolio-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.construction-premium-page .construction-portfolio-heading h2 {
    font-size: clamp(2rem, 2.6vw, 2.7rem);
    line-height: 1.18;
    margin-top: 8px;
    color: #171716;
}

.construction-premium-page .construction-portfolio-list {
    display: grid;
    gap: 28px;
}

.construction-premium-page .construction-portfolio-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1.05fr 0.95fr;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(29,29,27,0.08);
    overflow: hidden;
}

.construction-premium-page .construction-portfolio-item--dark {
    background: #161615;
    color: #f6efe2;
}

.construction-premium-page .construction-portfolio-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.construction-premium-page .construction-portfolio-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
}

.construction-premium-page .construction-portfolio-copy h3 {
    font-size: 1.5rem;
    margin: 10px 0 10px;
}

.construction-premium-page .construction-portfolio-copy p {
    line-height: 1.8;
    color: inherit;
    opacity: 0.82;
}

.construction-premium-page .cta-project {
    padding: 110px 0;
    background: linear-gradient(135deg, #101010 0%, #1b1a17 100%);
}

.construction-premium-page .cta-box {
    max-width: 980px;
    padding: 54px 36px;
    border: 1px solid rgba(199,160,82,0.24);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.construction-premium-page .cta-box h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 18px 0 20px;
}

.construction-premium-page .cta-box p {
    max-width: 700px;
    margin: 0 auto 32px;
}

.construction-premium-page .cta-box .btn-nav,
.construction-premium-page .cta-box .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 15px 30px;
}

.construction-premium-page .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.construction-premium-page .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px){
    .construction-premium-page .construction-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .construction-premium-page .construction-editorial-grid,
    .construction-premium-page .construction-editorial-grid--reverse {
        grid-template-columns: 1fr;
    }

    .construction-premium-page .construction-editorial-grid--reverse .construction-editorial-media {
        order: 0;
    }

    .construction-premium-page .construction-portfolio-item {
        grid-template-columns: 60px 1fr;
    }

    .construction-premium-page .construction-portfolio-copy {
        grid-column: 2;
    }
}

@media (max-width: 768px){
    .construction-premium-page .hero-project {
        min-height: 620px;
    }

    .construction-premium-page .hero-project-overlay {
        padding-bottom: 44px;
    }

    .construction-premium-page .construction-feature-grid {
        grid-template-columns: 1fr;
    }

    .construction-premium-page .construction-editorial-media img {
        height: 360px;
    }

    .construction-premium-page .construction-portfolio-item {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .construction-premium-page .construction-portfolio-number {
        font-size: 1.8rem;
    }

    .construction-premium-page .construction-portfolio-media img {
        height: 220px;
    }

    .construction-premium-page .cta-box {
        padding: 38px 22px;
    }
}

@media (max-width: 480px){
    .construction-premium-page .construction-intro {
        padding: 92px 0 72px;
    }

    .construction-premium-page .construction-hero-copy {
        padding-top: 22px;
    }

    .construction-premium-page .construction-editorial-media img {
        height: 280px;
    }

    .construction-premium-page .construction-portfolio-heading h2 {
        font-size: 1.8rem;
    }

    .construction-premium-page .cta-box h2 {
        font-size: 1.9rem;
    }
}

.renovation-gallery .gallery-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
    max-width:1100px;
    margin:40px auto 0;
    align-items:stretch;
}

.renovation-gallery .gallery-item{
    position:relative;
    overflow:hidden;
    min-width:0;
    aspect-ratio:4 / 3;
    border-radius:20px;
    background:#f5f5f5;
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.renovation-gallery .gallery-item img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-radius:20px;
    transition:transform .6s ease;
}

.renovation-gallery .gallery-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    padding:24px 24px 26px;
    background:linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.16), transparent);
    transition:background .45s ease;
}

.renovation-gallery .gallery-overlay h3{
    margin:0;
    color:#fff;
    font-size:24px;
    line-height:1.2;
    font-weight:700;
    transform:translateY(0);
    transition:transform .45s ease, opacity .45s ease;
}

.renovation-gallery .gallery-item{
    opacity:0;
    transform:translateY(36px) scale(0.985);
    transition:transform .8s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, opacity .8s cubic-bezier(.22,1,.36,1);
}

.renovation-gallery .gallery-item:nth-child(2){
    transition-delay:110ms;
}

.renovation-gallery .gallery-item:nth-child(3){
    transition-delay:220ms;
}

.renovation-gallery .gallery-item:nth-child(4){
    transition-delay:330ms;
}

.renovation-gallery .gallery-item.is-visible{
    opacity:1;
    transform:translateY(0) scale(1);
}

.renovation-gallery .gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 44px rgba(0,0,0,.16);
}

.renovation-gallery .gallery-item:hover img{
    transform:scale(1.05);
}

.renovation-gallery .gallery-item:hover .gallery-overlay{
    background:linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.22), transparent);
}

.renovation-gallery .gallery-item:hover .gallery-overlay h3{
    transform:translateY(-6px);
}

@media (prefers-reduced-motion: reduce){
    .renovation-gallery .gallery-item,
    .renovation-gallery .gallery-item img,
    .renovation-gallery .gallery-overlay,
    .renovation-gallery .gallery-overlay h3{
        transition:none !important;
        animation:none !important;
    }

    .renovation-gallery .gallery-item{
        opacity:1;
        transform:none;
    }
}

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

@media (max-width: 640px){
    .renovation-gallery .gallery-grid{
        grid-template-columns:1fr;
    }
}

.villa-gallery{
    padding:70px 0;
}

.villa-gallery .gallery-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
    margin-top:70px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    align-items:stretch;
}

.villa-gallery .gallery-item{
    position:relative;
    overflow:hidden;
    min-width:0;
    height:100%;
    border-radius:20px;
    background:#f5f5f5;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
    transition:transform .35s ease, box-shadow .35s ease;
}

.villa-gallery .gallery-item img{
    display:block;
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    object-position:center;
    border-radius:20px;
    transition:transform .45s ease;
}

.villa-gallery .gallery-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    padding:30px;
    background:linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.15));
    opacity:0;
    transition:opacity .35s ease;
}

.villa-gallery .gallery-overlay h3{
    color:#fff;
    font-size:24px;
    font-weight:700;
    transform:translateY(20px);
    transition:transform .35s ease;
}

.villa-gallery .gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:0 24px 50px rgba(0,0,0,.18);
}

.villa-gallery .gallery-item:hover img{
    transform:scale(1.08);
}

.villa-gallery .gallery-item:hover .gallery-overlay{
    opacity:1;
}

.villa-gallery .gallery-item:hover .gallery-overlay h3{
    transform:translateY(0);
}

.construction-gallery-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
    margin-top:70px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    align-items:stretch;
}

.construction-gallery-item{
    position:relative;
    overflow:hidden;
    min-width:0;
    height:100%;
    border-radius:20px;
    background:#f5f5f5;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
    transition:transform .35s ease, box-shadow .35s ease;
}

.construction-gallery-item img{
    display:block;
    width:100%;
    height:100%;
    min-height:0;
    aspect-ratio:4 / 3;
    object-fit:cover;
    object-position:center;
    border-radius:20px;
    transition:transform .45s ease;
}

.construction-gallery-item .gallery-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    padding:30px;
    background:linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.15));
    opacity:0;
    transition:opacity .35s ease;
}

.construction-gallery-item .gallery-overlay h3{
    color:#fff;
    font-size:24px;
    font-weight:700;
    transform:translateY(20px);
    transition:transform .35s ease;
}

.construction-gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:0 24px 50px rgba(0,0,0,.18);
}

.construction-gallery-item:hover img{
    transform:scale(1.08);
}

.construction-gallery-item:hover .gallery-overlay{
    opacity:1;
}

.construction-gallery-item:hover .gallery-overlay h3{
    transform:translateY(0);
}

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

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

@media (max-width: 640px){
    .villa-gallery .gallery-grid{
        grid-template-columns:1fr;
    }

    .construction-gallery-grid{
        grid-template-columns:1fr;
    }
}
/*===========================
        PROCESS
===========================*/

.process{

    padding:120px 0;

    background:var(--light);

}

.process-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:70px;

}

.process-card{
    padding:42px 36px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:0 16px 40px rgba(29,29,27,0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.process-card:hover{
    transform:translateY(-8px);
    border-color:rgba(199,160,82,0.28);
    box-shadow:0 24px 55px rgba(29,29,27,0.12);
}

.process-top{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:26px;
    margin-bottom:24px;
}

.process-number{
    font-size:58px;
    line-height:1;
    font-weight:800;
    color:var(--primary);
}

.process-icon{
    width:64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(199,160,82,0.12);
    color:var(--primary);
    font-size:25px;
    transition:0.35s ease;
}



.process-card:hover .process-icon{
    background:var(--primary);
    color:#ffffff;
    transform:rotate(-6deg) scale(1.08);
}

.process-card h3{

    margin:20px 0;

    font-size:24px;

}

.process-card p{

    color:var(--text-soft);

    line-height:1.8;

}
/* CTA PAGINA PROGETTI */

.cta-project{

    padding:120px 0;

    background:#1f1f1f;

}

.cta-box{

    max-width:900px;

    margin:auto;

    text-align:center;

    color:#fff;

}

.cta-box span{

    color:var(--primary);

    font-weight:700;

    letter-spacing:3px;

    font-size:14px;

}

.cta-box h2{

    font-size:52px;

    margin:20px 0;

    color:#fff;

}

.cta-box p{

    max-width:700px;

    margin:0 auto 40px;

    color:#ddd;

    line-height:1.9;

}
.cta-box .btn{

    display:inline-block;

    background:var(--primary);

    color:#fff;

    padding:18px 40px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.cta-box .btn:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(200,164,93,.35);

}
/* =========================
   EFFETTI IMMAGINI
========================= */

img{
    transition: transform .5s ease, box-shadow .5s ease;
}

img:hover{
    transform: scale(1.04);
}

.villa-gallery .gallery-item img,
.villa-gallery .gallery-item img:hover{
    transform:none;
}
/* =========================
   ANIMAZIONI SCROLL
========================= */

.reveal{
    opacity:0;
    transform:translateY(70px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}
.villa-gallery .gallery-item{
    background:transparent;
    border:none;
    border-radius:20px;
    display:block;
    align-items:stretch;
    justify-content:stretch;
    transition:0.3s;
}

.villa-gallery .gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:0 24px 50px rgba(0,0,0,.18);
}

.villa-gallery .gallery-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.15));
    padding:30px;
    text-align:left;
}

.villa-gallery .gallery-overlay h3{
    color:#fff;
    font-size:24px;
}
/* ===============================
        COLLABORAZIONI
================================ */

.partners{

    background:var(--light);

}


.partners-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;

}


.partner-card{

    background:white;

    padding:40px 30px;

    border-radius:24px;

    box-shadow:0 20px 45px rgba(0,0,0,.06);

    border:1px solid rgba(0,0,0,.05);

    transition:.35s ease;

}


.partner-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

}


.partner-card h3{

    font-size:22px;

    color:var(--dark);

    margin-bottom:15px;

}


.partner-card p{

    color:var(--text-soft);

    font-size:15px;

    line-height:1.7;

}
/* ===============================
        COLLABORAZIONI MOBILE
================================ */

@media(max-width:768px){

    .partners-grid{

        grid-template-columns:1fr;
        gap:25px;

    }


    .partner-card{

        padding:35px 25px;

    }


}
.privacy-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:15px 0 20px;
    font-size:14px;
    line-height:1.5;
    color:var(--text-soft);
}

.privacy-consent input{
    width:auto;
    margin-top:4px;
    flex-shrink:0;
}

.privacy-consent a{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
}

.privacy-consent a:hover{
    text-decoration:underline;
}
.legal-page{
    padding:160px 0 100px;
    background:var(--light);
}

.legal-page .container{
    max-width:1000px;
}

.legal-page h1{
    font-size:52px;
    color:var(--dark);
    margin:10px 0 20px;
}

.legal-intro{
    font-size:18px;
    line-height:1.8;
    color:var(--text-soft);
    margin-bottom:50px;
}

.legal-section{
    background:#ffffff;
    padding:30px;
    border-radius:18px;
    margin-bottom:24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.legal-section h2{
    font-size:24px;
    color:var(--dark);
    margin-bottom:14px;
}

.legal-section p{
    font-size:16px;
    line-height:1.8;
    color:var(--text-soft);
}

.legal-section a{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
}

.legal-section a:hover{
    text-decoration:underline;
}

.legal-update{
    margin-top:35px;
    color:var(--text-soft);
    font-size:14px;
}

@media(max-width:768px){

    .legal-page{
        padding:120px 0 70px;
    }

    .legal-page h1{
        font-size:38px;
    }

    .legal-section{
        padding:22px;
    }

    .legal-section h2{
        font-size:21px;
    }

}
.villa-showcase{
    padding:100px 0;
}

.villa-showcase .project-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    align-items:center;
    gap:70px;
}

.villa-showcase .project-image img{
    width:100%;
    height:680px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.villa-showcase .section-title{
    text-align:left;
    margin-bottom:30px;
}

.villa-showcase .section-title h2,
.orti-showcase .section-title h2,
.ristrutturazioni-showcase .section-title h2,
.realizzazioni-showcase .section-title h2{
    font-size:48px;
    line-height:1.15;
    margin-top:12px;
}

.villa-showcase .project-text p{
    font-size:17px;
    line-height:1.8;
    margin-bottom:18px;
    color:var(--text-soft);
}

.villa-showcase .btn-primary{
    display:inline-block;
    margin-top:18px;
}

@media(max-width:768px){

    .villa-showcase{
        padding:70px 0;
    }

    .villa-showcase .project-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .villa-showcase .project-image img{
        height:420px;
    }

    .villa-showcase .section-title h2,
    .orti-showcase .section-title h2,
    .ristrutturazioni-showcase .section-title h2,
    .realizzazioni-showcase .section-title h2{
        font-size:34px;
    }

}.orti-showcase{
    padding:100px 0;
}

.orti-showcase .project-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    align-items:center;
    gap:70px;
}

.orti-showcase .project-image img{
    width:100%;
    height:680px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.orti-showcase .section-title{
    text-align:left;
    margin-bottom:30px;
}

.orti-showcase .project-text p{
    font-size:17px;
    line-height:1.8;
    margin-bottom:18px;
    color:var(--text-soft);
}

.orti-showcase .btn-primary{
    display:inline-block;
    margin-top:18px;
}

@media(max-width:768px){

    .orti-showcase{
        padding:70px 0;
    }

    .orti-showcase .project-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .orti-showcase .project-image img{
        height:420px;
    }

}
.ristrutturazioni-showcase{
    padding:100px 0;
}

.ristrutturazioni-showcase .project-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    align-items:center;
    gap:70px;
}

.ristrutturazioni-showcase .project-image img{
    width:100%;
    height:680px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.ristrutturazioni-showcase .section-title{
    text-align:left;
    margin-bottom:30px;
}

.ristrutturazioni-showcase .project-text p{
    font-size:17px;
    line-height:1.8;
    margin-bottom:18px;
    color:var(--text-soft);
}

@media(max-width:768px){

    .ristrutturazioni-showcase{
        padding:70px 0;
    }

    .ristrutturazioni-showcase .project-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .ristrutturazioni-showcase .project-image img{
        height:360px;
    }

}
.realizzazioni-showcase{
    padding:100px 0;
}

.realizzazioni-showcase .project-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    align-items:center;
    gap:70px;
}

.realizzazioni-showcase .project-image img{
    width:100%;
    height:680px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.realizzazioni-showcase .section-title{
    text-align:left;
    margin-bottom:30px;
}

.realizzazioni-showcase .project-text p{
    font-size:17px;
    line-height:1.8;
    margin-bottom:18px;
    color:var(--text-soft);
}

@media(max-width:768px){

    .realizzazioni-showcase{
        padding:70px 0;
    }

    .realizzazioni-showcase .project-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .realizzazioni-showcase .project-image img{
        height:420px;
    }

}
.thank-you-page{
    min-height:70vh;
    display:flex;
    align-items:center;
    padding:140px 0 90px;
    background:var(--light);
}

.thank-you-box{
    max-width:850px;
    margin:0 auto;
    padding:70px 60px;
    background:#ffffff;
    border-radius:24px;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,0.10);
}

.thank-you-icon{
    width:90px;
    height:90px;
    margin:0 auto 25px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#c9a45c;
    color:#ffffff;
    font-size:38px;
}

.thank-you-box span{
    display:block;
    margin-bottom:15px;
    color:#c9a45c;
    font-weight:700;
    letter-spacing:3px;
}

.thank-you-box h1{
    margin-bottom:20px;
    font-size:52px;
    line-height:1.15;
}

.thank-you-box p{
    max-width:650px;
    margin:0 auto 30px;
    color:var(--text-soft);
    font-size:18px;
    line-height:1.8;
}

.thank-you-box .btn-primary{
    display:inline-block;
}

@media(max-width:768px){

    .thank-you-page{
        padding:110px 0 60px;
    }

    .thank-you-box{
        padding:50px 25px;
    }

    .thank-you-icon{
        width:75px;
        height:75px;
        font-size:30px;
    }

    .thank-you-box h1{
        font-size:36px;
    }

    .thank-you-box p{
        font-size:16px;
    }

}
/* =========================
   HOME SLIDER
========================= */

.home-slider{
    padding:120px 0 105px;
    background:linear-gradient(180deg, #f6efe6 0%, #f4f1eb 100%);
    overflow:hidden;
}

.slider-heading{
    max-width:760px;
    margin:0 auto 60px;
    text-align:center;
}

.slider-heading h2{
    margin-top:16px;
    font-size:46px;
    line-height:1.18;
    font-weight:600;
    letter-spacing:-1px;
    color:#171716;
}

.slider-wrapper{
    position:relative;
    max-width:1180px;
    margin:0 auto;
    padding:16px;
}

.slider-track{
    position:relative;
    height:540px;
    overflow:hidden;
    border-radius:26px;
    box-shadow:0 26px 68px rgba(29,29,27,0.16);
    border:1px solid rgba(201,164,92,0.24);
}

.slider-track::before{
    content:"";
    position:absolute;
    inset:12px;
    border:1px solid rgba(255,255,255,0.16);
    border-radius:18px;
    pointer-events:none;
    z-index:3;
}

.slider-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transform:scale(1.03);
    transition:opacity 0.8s ease, visibility 0.8s ease, transform 1.1s ease;
}

.slider-slide.active{
    opacity:1;
    visibility:visible;
    transform:scale(1);
}

.slider-slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.76) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.04) 100%);
    box-shadow:inset 0 0 80px rgba(0,0,0,0.12);
}

.slider-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.8s ease;
}

.slider-slide.active:hover img{
    transform:scale(1.03);
}

.slider-caption{
    position:absolute;
    left:44px;
    bottom:44px;
    z-index:2;
    max-width:560px;
    padding:28px 32px;
    background:rgba(247,242,232,0.97);
    color:var(--text);
    border:1px solid rgba(29,29,27,0.08);
    border-radius:20px;
    box-shadow:0 20px 44px rgba(29,29,27,0.14);
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
}

.slider-caption span{
    display:block;
    margin-bottom:10px;
    color:#c9a45c;
    font-size:12px;
    font-weight:700;
    letter-spacing:2.5px;
    text-transform:uppercase;
}

.slider-caption h3{
    max-width:500px;
    font-size:34px;
    line-height:1.2;
    font-weight:600;
    color:#171716;
}

.slider-arrow{
    position:absolute;
    top:50%;
    z-index:5;
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(201,164,92,0.34);
    border-radius:50%;
    background:rgba(255,255,255,0.96);
    color:#171716;
    font-size:15px;
    cursor:pointer;
    transform:translateY(-50%);
    box-shadow:0 12px 30px rgba(29,29,27,0.12);
    transition:0.3s ease;
}

.slider-arrow:hover{
    background:#171716;
    color:#fff;
    border-color:#171716;
    transform:translateY(-50%) translateY(-3px);
}

.slider-prev{
    left:18px;
}

.slider-next{
    right:18px;
}

.slider-dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:28px;
}

.slider-dot{
    width:10px;
    height:10px;
    border:0;
    border-radius:50%;
    background:#d7d0c7;
    cursor:pointer;
    transition:0.3s ease;
}

.slider-dot.active{
    width:30px;
    border-radius:20px;
    background:#c9a45c;
}

@media(max-width:768px){

    .home-slider{
        padding:75px 0;
    }

    .slider-heading{
        margin-bottom:35px;
    }

    .slider-heading h2{
        font-size:34px;
    }

    .slider-track{
        height:500px;
        border-radius:20px;
    }

    .slider-caption{
        left:25px;
        right:25px;
        bottom:30px;
    }

    .slider-caption h3{
        font-size:28px;
    }

    .slider-arrow{
        width:46px;
        height:46px;
    }

    .slider-prev{
        left:12px;
    }

    .slider-next{
        right:12px;
    }

}
@media (max-width:768px){

    .hero-ristrutturazioni h1{
        font-size:28px;
        line-height:1.15;
        overflow-wrap:normal;
        word-break:normal;
    }

}

@media (max-width:768px){

    .ristrutturazioni-advantages .section-title h2,
    .ristrutturazioni-gallery .section-title h2{
        font-size:32px;
        line-height:1.15;
        max-width:320px;
margin:0 auto;
letter-spacing:-0.5px;
        overflow-wrap:normal;
        word-break:normal;
        hyphens:none;
    }


.ristrutturazioni-advantages .section-title::after,
.ristrutturazioni-gallery .section-title::after{
    content:"";
    display:block;
    width:54px;
    height:2px;
    margin:18px auto 0;
    background:#c9a45c;
    border-radius:999px;
}
}

@media (max-width:768px){

    .hero-pubblico-sanita h1{
        font-size:27px;
        line-height:1.12;
        max-width:100%;
        margin:18px 0;
        overflow-wrap:normal;
        word-break:normal;
        hyphens:none;
    }

}

@media (max-width:768px){

    .stats-pubblico-sanita{
        padding:55px 0;
        background:#f7f4ee;
    }

    .stats-pubblico-sanita .stats-grid{
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:14px;
        width:100%;
    }

    .stats-pubblico-sanita .stat{
        width:100%;
        min-width:0;
        padding:24px 10px;

        background:#ffffff;
        border:1px solid rgba(201,164,92,.25);
        border-radius:18px;

        text-align:center;
        box-shadow:0 12px 30px rgba(0,0,0,.07);
    }

    .stats-pubblico-sanita .stat h3{
        margin:0 0 12px;
        font-size:34px;
        line-height:1;
        color:#c9a45c;

        white-space:normal;
        overflow-wrap:normal;
        word-break:normal;
    }
.stats-pubblico-sanita .stat:nth-child(4) h3{
    font-size:27px;
}
    .stats-pubblico-sanita .stat p{
        margin:0;
        font-size:12px;
        line-height:1.4;
    }

}
/* =========================================
   PAGINA PARCO MACCHINE
========================================= */

.machine-page-intro{
    padding:110px 0 90px;
    background:white;
    text-align:center;
}

.machine-page-intro .container{
    max-width:900px;
}

.machine-page-intro h2{
    font-size:48px;
    line-height:1.2;
    color:var(--dark);
    margin:18px 0 28px;
}

.machine-page-intro h2::after{
    content:"";
    display:block;
    width:70px;
    height:4px;
    margin:24px auto 0;
    border-radius:10px;
    background:var(--primary);
}

.machine-page-intro p{
    max-width:800px;
    margin:0 auto 18px;
    color:var(--text-soft);
    font-size:18px;
    line-height:1.8;
}

.machine-gallery-section{
    padding:110px 0;
    background:var(--light);
}

.machine-gallery-heading{
    max-width:850px;
    margin:0 auto 55px;
    text-align:center;
}

.machine-gallery-heading h2{
    margin-top:16px;
    color:var(--dark);
    font-size:46px;
    line-height:1.2;
}

.machine-carousel{
    position:relative;
    max-width:1180px;
    margin:0 auto;
}

.machine-carousel-track{
    position:relative;
    height:620px;
    overflow:hidden;
    border-radius:26px;
    background:#ddd;
    box-shadow:0 25px 60px rgba(0,0,0,0.16);
}

.machine-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transform:scale(1.03);
    transition:opacity .6s ease, transform .8s ease;
}

.machine-slide.active{
    opacity:1;
    visibility:visible;
    transform:scale(1);
}

.machine-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.machine-carousel-btn{
    position:absolute;
    top:50%;
    z-index:5;
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:white;
    color:var(--dark);
    box-shadow:0 10px 30px rgba(0,0,0,0.18);
    cursor:pointer;
    transform:translateY(-50%);
    transition:.3s ease;
}

.machine-carousel-btn:hover{
    color:white;
    background:var(--primary);
}

.machine-prev{
    left:22px;
}

.machine-next{
    right:22px;
}

.machine-carousel-dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:28px;
}

.machine-carousel-dots button{
    width:10px;
    height:10px;
    padding:0;
    border:none;
    border-radius:50%;
    background:#d6d6d6;
    cursor:pointer;
    transition:.3s ease;
}

.machine-carousel-dots button.active{
    width:32px;
    border-radius:10px;
    background:var(--primary);
}

@media(max-width:768px){

    .machine-page-intro,
    .machine-gallery-section{
        padding:80px 0;
    }

    .machine-page-intro h2,
    .machine-gallery-heading h2{
        font-size:34px;
    }

    .machine-page-intro p{
        font-size:16px;
    }

    .machine-carousel-track{
        height:450px;
        border-radius:6px;
    }

    .machine-carousel-btn{
        width:46px;
        height:46px;
    }

    .machine-prev{
        left:14px;
    }

    .machine-next{
        right:14px;
    }

    .machine-gallery-section::before{
        display:none;
    }
}

/* =========================================
   PARCO MACCHINE - STILE PREMIUM
========================================= */

.machine-gallery-section{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(200,164,93,0.12), transparent 30%),
        linear-gradient(135deg, #181818 0%, #242424 55%, #151515 100%);
}

.machine-gallery-section::before{
    content:"COSTRUIRE";
    position:absolute;
    left:50%;
    right:auto;
    bottom:-55px;
    width:100%;
    transform:translateX(-50%);
    text-align:center;
    white-space:nowrap;
    color:rgba(255,255,255,0.035);
    font-size:165px;
    font-weight:800;
    letter-spacing:12px;
    pointer-events:none;
}

.machine-gallery-heading{
    position:relative;
    z-index:2;
}

.machine-gallery-heading h2{
    color:white;
    font-size:52px;
}

.machine-carousel{
    max-width:1250px;
}

.machine-carousel-track{
    height:680px;
    border:1px solid rgba(200,164,93,0.65);
    border-radius:10px;
    background:#111;
    box-shadow:
        0 35px 80px rgba(0,0,0,0.45),
        0 0 0 8px rgba(255,255,255,0.025);
}

.machine-slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.22), transparent 35%, transparent 75%, rgba(0,0,0,0.12)),
        linear-gradient(0deg, rgba(0,0,0,0.20), transparent 35%);
    pointer-events:none;
}

.machine-slide img{
    filter:contrast(1.06) saturate(1.08);
}

.machine-carousel-btn{
    width:58px;
    height:58px;
    border:1px solid rgba(200,164,93,0.75);
    border-radius:4px;
    color:white;
    background:rgba(15,15,15,0.88);
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.35);
}

.machine-carousel-btn:hover{
    color:#111;
    background:var(--primary);
    transform:translateY(-50%) scale(1.06);
}

.machine-prev{
    left:28px;
}

.machine-next{
    right:28px;
}

.machine-carousel-dots{
    position:relative;
    z-index:2;
    margin-top:34px;
}

.machine-carousel-dots button{
    width:30px;
    height:3px;
    border-radius:0;
    background:rgba(255,255,255,0.22);
}

.machine-carousel-dots button.active{
    width:65px;
    height:3px;
    border-radius:0;
    background:var(--primary);
    box-shadow:0 0 16px rgba(200,164,93,0.55);
}



/* =========================================
   MENU DESKTOP CON PARCO MACCHINE
========================================= */

@media(min-width:1200px){

    .header .container{
        max-width:1480px;
        padding-left:24px;
        padding-right:24px;
    }

    .navbar ul{
        gap:24px;
    }

    .navbar a{
        font-size:15px;
        white-space:nowrap;
    }

    .btn-nav{
        padding:15px 24px;
        white-space:nowrap;
    }

    .logo img{
        width:165px;
    }
}

/* =========================================
   MENU PREMIUM
========================================= */

.navbar a{
    position:relative;
    display:inline-flex;
    align-items:center;
    padding:10px 0;
    color:#202020;
    font-family:var(--font-heading);
    font-size:13px;
    font-weight:600;
    line-height:1;
    letter-spacing:0.7px;
    text-transform:uppercase;
    white-space:nowrap;
    transition:color .3s ease, transform .3s ease;
}

.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:var(--primary);
    transition:width .3s ease;
}

.navbar a:hover{
    color:var(--primary);
    transform:translateY(-2px);
}

.navbar a:hover::after,
.navbar a.active::after{
    width:100%;
}

.navbar a.active{
    color:var(--primary);
    font-weight:700;
}

.btn-nav{
    font-family:var(--font-heading);
    font-size:13px;
    font-weight:700;
    letter-spacing:0.5px;
    text-transform:uppercase;
}

@media(min-width:1200px){

    .navbar ul{
        gap:22px;
    }

}

/* RITAGLIO FOTO 9 - PARCO MACCHINE */

.machine-slide:nth-child(9) img{
    transform:scale(1.45);
    transform-origin:left center;
}

/* ========================================
   MENU PRIVACY E COOKIE
======================================== */

.legal-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.legal-nav li {
    list-style: none;
}

.legal-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    color: var(--dark);
    background: rgba(200, 164, 93, 0.08);
    border: 1px solid rgba(200, 164, 93, 0.30);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s ease;
}

.legal-nav li a i {
    color: var(--primary);
    font-size: 14px;
    transition: all 0.35s ease;
}

.legal-nav li a:hover {
    color: white;
    background: var(--dark);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.legal-nav li a:hover i {
    color: var(--primary);
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .legal-nav {
        gap: 8px;
    }

    .legal-nav li a {
        padding: 11px 15px;
        font-size: 11px;
    }
}

/* ========================================
   MENU PRINCIPALE PREMIUM
======================================== */

@media (min-width: 1025px) {

    .premium-navbar ul {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .premium-navbar ul li {
        list-style: none;
    }

    .premium-navbar ul li a {
        position: relative;
        display: flex;
        align-items: center;
        padding: 11px 13px;
        color: var(--dark);
        background: transparent;
        border: 1px solid transparent;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.35s ease;
    }

    .premium-navbar ul li a:hover {
        color: var(--dark);
        background: rgba(200, 164, 93, 0.10);
        border-color: rgba(200, 164, 93, 0.35);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .premium-navbar ul li a.active {
        color: white;
        background: var(--dark);
        border-color: var(--primary);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    }

    .premium-navbar ul li a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 5px;
        width: 0;
        height: 2px;
        background: var(--primary);
        border-radius: 10px;
        transform: translateX(-50%);
        transition: width 0.35s ease;
    }

    .premium-navbar ul li a:hover::after,
    .premium-navbar ul li a.active::after {
        width: 22px;
    }
}

/* ========================================
   RESIDENZA GLI ORTI - INTRODUZIONE
======================================== */

.orti-overview {
    position: relative;
    padding: 130px 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(200, 164, 93, 0.12),
            transparent 32%
        ),
        #f8f7f3;
    overflow: hidden;
}

.orti-overview-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 85px;
}

.orti-overview-image {
    position: relative;
    height: 620px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.orti-overview-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(20, 20, 20, 0.72),
            transparent 48%
        );
    pointer-events: none;
}

.orti-overview-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.orti-overview-image:hover img {
    transform: scale(1.04);
}

.orti-image-label {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 38px;
    z-index: 2;
    color: white;
}

.orti-image-label span {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.orti-image-label strong {
    display: block;
    font-size: 30px;
    line-height: 1.2;
}

.orti-overview-content .section-subtitle {
    display: block;
    margin-bottom: 22px;
}

.orti-overview-content h1 {
    max-width: 620px;
    margin-bottom: 30px;
    color: var(--dark);
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.06;
    letter-spacing: -2px;
}

.orti-overview-content > p {
    max-width: 610px;
    margin-bottom: 18px;
    color:var(--text-soft);
    font-size: 17px;
    line-height: 1.8;
}

.orti-overview-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 38px;
}

.orti-overview-detail {
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: white;
    border: 1px solid rgba(200, 164, 93, 0.25);
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.orti-overview-detail:hover {
    color: white;
    background: var(--dark);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.orti-overview-detail strong,
.orti-overview-detail i {
    color: var(--primary);
    font-size: 27px;
    font-weight: 800;
}

.orti-overview-detail span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 992px) {

    .orti-overview {
        padding: 90px 0;
    }

    .orti-overview-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .orti-overview-image {
        height: 540px;
    }
}

@media (max-width: 600px) {

    .orti-overview {
        padding: 70px 0;
    }

    .orti-overview-image {
        height: 430px;
    }

    .orti-image-label {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .orti-image-label strong {
        font-size: 24px;
    }

    .orti-overview-content h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .orti-overview-content > p {
        font-size: 16px;
    }

    .orti-overview-details {
        grid-template-columns: 1fr;
    }

    .orti-overview-detail {
        min-height: 105px;
    }
}

/* ========================================
   RESIDENZA GLI ORTI - NAVIGAZIONE INTERNA
======================================== */

.orti-navigation-section {
    position: relative;
    padding: 115px 0;
    color: white;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(200, 164, 93, 0.14),
            transparent 30%
        ),
        linear-gradient(135deg, #181818 0%, #262522 100%);
    overflow: hidden;
}

.orti-navigation-section::before {
    content: "GLI ORTI";
    position: absolute;
    right: -35px;
    bottom: -45px;
    color: rgba(255, 255, 255, 0.025);
    font-size: 180px;
    font-weight: 800;
    letter-spacing: 15px;
    white-space: nowrap;
    pointer-events: none;
}

.orti-navigation-heading {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.orti-navigation-heading .section-subtitle {
    display: block;
    margin-bottom: 18px;
    color: var(--primary);
}

.orti-navigation-heading h2 {
    margin-bottom: 20px;
    color: white;
    font-size: clamp(40px, 4vw, 60px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.orti-navigation-heading p {
    color: rgba(255, 255, 255, 0.67);
    font-size: 17px;
    line-height: 1.7;
}

.orti-navigation {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.orti-navigation-link {
    position: relative;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 27px;
    color: white;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
}

.orti-navigation-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.orti-navigation-link span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orti-navigation-link strong {
    font-size: 22px;
    line-height: 1.2;
}

.orti-navigation-link i {
    align-self: flex-end;
    color: var(--primary);
    font-size: 15px;
    transition: transform 0.4s ease;
}

.orti-navigation-link:hover {
    color: white;
    background: rgba(200, 164, 93, 0.12);
    border-color: rgba(200, 164, 93, 0.55);
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.orti-navigation-link:hover::before {
    transform: scaleX(1);
}

.orti-navigation-link:hover i {
    transform: translateY(5px);
}

@media (max-width: 992px) {

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

@media (max-width: 600px) {

    .orti-navigation-section {
        padding: 80px 0;
    }

    .orti-navigation-heading {
        margin-bottom: 40px;
    }

    .orti-navigation-heading h2 {
        font-size: 38px;
    }

    .orti-navigation {
        grid-template-columns: 1fr;
    }

    .orti-navigation-link {
        min-height: 135px;
    }

    .orti-navigation-section::before {
        display: none;
    }
}

/* =====================================
   RESIDENZA GLI ORTI — LOTTI
===================================== */

.orti-lot-section {
    padding: 130px 0;
    background: #f7f5ef;
}

.orti-lot-header {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: end;
    gap: 55px;
    margin-bottom: 65px;
}

.orti-lot-number {
    min-height: 170px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1b1b1a;
    color: white;
    border-bottom: 4px solid var(--primary);
}

.orti-lot-number span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.orti-lot-number strong {
    font-size: 70px;
    line-height: 0.9;
    font-weight: 800;
}

.orti-lot-title {
    max-width: 850px;
}

.orti-lot-title h2 {
    margin: 15px 0 22px;
    color: var(--dark);
    font-size: 64px;
    line-height: 1;
}

.orti-lot-title p {
    max-width: 760px;
    margin: 0;
    color:var(--text-soft);
    font-size: 18px;
    line-height: 1.8;
}

.orti-lot-showcase {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 28px;
}

.orti-lot-main-image {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

.orti-lot-main-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 42%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

.orti-lot-main-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.orti-lot-main-image:hover img {
    transform: scale(1.035);
}

.orti-lot-image-caption {
    position: absolute;
    z-index: 2;
    right: 42px;
    bottom: 42px;
    left: 42px;
    color: white;
}

.orti-lot-image-caption span {
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.orti-lot-image-caption strong {
    display: block;
    max-width: 520px;
    font-size: 34px;
    line-height: 1.2;
}

.orti-property-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.orti-property-card {
    position: relative;
    min-height: 316px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(200, 164, 93, 0.3);
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.orti-property-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: width 0.35s ease;
}

.orti-property-card:hover {
    color: white;
    background: #1d1d1b;
    transform: translateY(-7px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.orti-property-card:hover::before {
    width: 100%;
}

.orti-property-index {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orti-property-card > div > i {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 27px;
}

.orti-property-card h3 {
    margin: 0 0 12px;
    color: inherit;
    font-size: 25px;
}

.orti-property-card p {
    margin: 0;
    color:var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
    transition: color 0.35s ease;
}

.orti-property-card:hover p {
    color: #d5d5d5;
}

.orti-property-arrow {
    align-self: flex-end;
    color: var(--primary);
    font-size: 18px;
    transform: translateX(-5px);
    transition: transform 0.35s ease;
}

.orti-property-card:hover .orti-property-arrow {
    transform: translateX(5px);
}


/* Tablet */

@media (max-width: 992px) {

    .orti-lot-header {
        grid-template-columns: 130px 1fr;
        gap: 35px;
    }

    .orti-lot-number {
        min-height: 140px;
    }

    .orti-lot-number strong {
        font-size: 55px;
    }

    .orti-lot-title h2 {
        font-size: 52px;
    }

    .orti-lot-showcase {
        grid-template-columns: 1fr;
    }

    .orti-lot-main-image {
        min-height: 550px;
    }
}


/* Smartphone */

@media (max-width: 600px) {

    .orti-lot-section {
        padding: 85px 0;
    }

    .orti-lot-header {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 45px;
    }

    .orti-lot-number {
        width: 130px;
        min-height: 125px;
    }

    .orti-lot-number strong {
        font-size: 50px;
    }

    .orti-lot-title h2 {
        font-size: 43px;
    }

    .orti-lot-title p {
        font-size: 16px;
    }

    .orti-lot-main-image {
        min-height: 480px;
    }

    .orti-lot-image-caption {
        right: 25px;
        bottom: 28px;
        left: 25px;
    }

    .orti-lot-image-caption strong {
        font-size: 27px;
    }

    .orti-property-types {
        grid-template-columns: 1fr;
    }

    .orti-property-card {
        min-height: 250px;
    }
}

/* =====================================
   RESIDENZA GLI ORTI — LOTTO 2
===================================== */
.orti-lot-one {
    position: relative;
    overflow: hidden;
}

.orti-lot-one::before {
    content: "01";
    position: absolute;
    left: -40px;
    bottom: -110px;
    color: rgba(32, 32, 31, 0.055);
    font-size: 420px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.orti-lot-one .orti-lot-header,
.orti-lot-one .orti-lot-showcase {
    position: relative;
    z-index: 2;
}
.orti-lot-two {
    position: relative;
    overflow: hidden;
    background: #20201f;
}

.orti-lot-two::before {
    content: "02";
    position: absolute;
    right: -40px;
    bottom: -110px;
    color: rgba(255, 255, 255, 0.025);
    font-size: 420px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.orti-lot-two .orti-lot-header,
.orti-lot-two .orti-lot-showcase {
    position: relative;
    z-index: 2;
}

.orti-lot-two .orti-lot-title h2 {
    color: white;
}

.orti-lot-two .orti-lot-title p {
    color: #c8c8c8;
}

.orti-lot-two .section-subtitle {
    color: var(--primary);
}

.orti-lot-two .orti-lot-number {
    background: var(--primary);
    border-bottom-color: white;
}

.orti-lot-two .orti-lot-number span {
    color: #1d1d1b;
}

.orti-lot-two .orti-lot-number strong {
    color: white;
}

.orti-lot-two .orti-property-card {
    background: #292928;
    color: white;
    border-color: rgba(200, 164, 93, 0.28);
}

.orti-lot-two .orti-property-card p {
    color: #bdbdbd;
}

.orti-lot-two .orti-property-card:hover {
    color: #1d1d1b;
    background: var(--primary);
    border-color: var(--primary);
}

.orti-lot-two .orti-property-card:hover::before {
    background: white;
}

.orti-lot-two .orti-property-card:hover .orti-property-index,
.orti-lot-two .orti-property-card:hover > div > i,
.orti-lot-two .orti-property-card:hover .orti-property-arrow {
    color: white;
}

.orti-lot-two .orti-property-card:hover p {
    color: #292929;
}

.orti-property-card-wide {
    grid-column: 1 / -1;
    min-height: 230px;
}

.orti-property-card-wide > div {
    max-width: 420px;
}


/* Tablet */

@media (max-width: 992px) {

    .orti-lot-two::before {
        right: -20px;
        bottom: -60px;
        font-size: 300px;
    }
}


/* Smartphone */

@media (max-width: 600px) {

    .orti-lot-two::before {
        display: none;
    }

    .orti-property-card-wide {
        grid-column: auto;
        min-height: 250px;
    }
}

/* =====================================
   RESIDENZA GLI ORTI — IL CANTIERE
===================================== */

.orti-progress-section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: #f7f5ef;
}

.orti-progress-section::before {
    content: "CANTIERE";
    position: absolute;
    right: -55px;
    top: 70px;
    color: rgba(31, 31, 31, 0.025);
    font-size: 170px;
    font-weight: 800;
    letter-spacing: 12px;
    pointer-events: none;
}

.orti-progress-heading {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin-bottom: 65px;
}

.orti-progress-heading h2 {
    margin: 18px 0 25px;
    color: var(--dark);
    font-size: 60px;
    line-height: 1.08;
}

.orti-progress-heading p {
    max-width: 680px;
    margin: 0;
    color: #5f5f5f;
    font-size: 18px;
    line-height: 1.8;
}

.orti-progress-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
}

.orti-progress-side {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 22px;
}

.orti-progress-card {
    position: relative;
    min-height: 315px;
    overflow: hidden;
    background: #1d1d1b;
    border-radius: 5px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.13);
}

.orti-progress-card-main {
    min-height: 655px;
}

.orti-progress-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.orti-progress-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.03) 20%,
            rgba(0, 0, 0, 0.88) 100%
        );
}

.orti-progress-card:hover img {
    transform: scale(1.045);
}

.orti-progress-overlay {
    position: absolute;
    z-index: 2;
    right: 35px;
    bottom: 35px;
    left: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    color: white;
}

.orti-progress-number {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orti-progress-overlay > div {
    max-width: 500px;
    margin-left: auto;
}

.orti-progress-overlay div > span {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.orti-progress-overlay h3 {
    margin: 0;
    color: white;
    font-size: 28px;
    line-height: 1.2;
}

.orti-progress-card-main .orti-progress-overlay h3 {
    font-size: 38px;
}

.orti-progress-overlay p {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.orti-progress-status {
    position: relative;
    z-index: 2;
    margin-top: 42px;
    padding: 25px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    border-top: 1px solid rgba(31, 31, 31, 0.14);
    border-bottom: 1px solid rgba(31, 31, 31, 0.14);
}

.orti-progress-status div:first-child span {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orti-progress-status div:first-child strong {
    color: var(--dark);
    font-size: 17px;
}

.orti-progress-line {
    height: 2px;
    overflow: hidden;
    background: rgba(31, 31, 31, 0.12);
}

.orti-progress-line span {
    display: block;
    width: 72%;
    height: 100%;
    background: var(--primary);
}

.orti-progress-status > p {
    margin: 0;
    color:var(--text-soft);
    font-size: 14px;
}


/* Tablet */

@media (max-width: 992px) {

    .orti-progress-heading h2 {
        font-size: 50px;
    }

    .orti-progress-grid {
        grid-template-columns: 1fr;
    }

    .orti-progress-card-main {
        min-height: 560px;
    }

    .orti-progress-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }

    .orti-progress-status {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


/* Smartphone */

@media (max-width: 600px) {

    .orti-progress-section {
        padding: 90px 0;
    }

    .orti-progress-section::before {
        display: none;
    }

    .orti-progress-heading {
        margin-bottom: 42px;
    }

    .orti-progress-heading h2 {
        font-size: 39px;
    }

    .orti-progress-heading p {
        font-size: 16px;
    }

    .orti-progress-card-main,
    .orti-progress-card {
        min-height: 440px;
    }

    .orti-progress-side {
        grid-template-columns: 1fr;
    }

    .orti-progress-overlay {
        right: 24px;
        bottom: 25px;
        left: 24px;
        display: block;
    }

    .orti-progress-number {
        display: block;
        margin-bottom: 18px;
    }

    .orti-progress-card-main .orti-progress-overlay h3,
    .orti-progress-overlay h3 {
        font-size: 27px;
    }
}

/* =====================================
   RESIDENZA GLI ORTI — CAPITOLATO
===================================== */

.orti-specifications-section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: #1d1d1b;
}

.orti-specifications-section::before {
    content: "MATERIALI";
    position: absolute;
    right: -55px;
    bottom: -65px;
    color: rgba(255, 255, 255, 0.025);
    font-size: 165px;
    font-weight: 800;
    letter-spacing: 10px;
    pointer-events: none;
}

.orti-specifications-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.orti-specifications-content h2 {
    margin: 18px 0 28px;
    color: white;
    font-size: 58px;
    line-height: 1.08;
}

.orti-specifications-intro {
    max-width: 620px;
    margin: 0 0 38px;
    color: #bdbdbd;
    font-size: 17px;
    line-height: 1.8;
}

.orti-showroom-box {
    margin-bottom: 38px;
    padding: 27px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 164, 93, 0.28);
}

.orti-showroom-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1b;
    background: var(--primary);
    font-size: 22px;
}

.orti-showroom-box span {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orti-showroom-box h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 22px;
}

.orti-showroom-box p {
    margin: 0;
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.7;
}

.orti-specifications-button {
    min-height: 62px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    color: #1d1d1b;
    background: var(--primary);
    border: 1px solid var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.orti-specifications-button:hover {
    color: white;
    background: transparent;
    transform: translateY(-4px);
}

.orti-specifications-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.orti-material-card {
    position: relative;
    min-height: 285px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--dark);
    background: var(--light);
    border: 1px solid rgba(200, 164, 93, 0.25);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.orti-material-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}

.orti-material-card > span {
    position: absolute;
    top: 26px;
    right: 27px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.orti-material-card > i {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 31px;
}

.orti-material-card h3 {
    margin: 0 0 12px;
    color: inherit;
    font-size: 25px;
}

.orti-material-card p {
    margin: 0;
    color: #626262;
    font-size: 14px;
    line-height: 1.7;
}

.orti-material-card-main {
    color: white;
    background: var(--primary);
}

.orti-material-card-main > span,
.orti-material-card-main > i {
    color: white;
}

.orti-material-card-main p {
    color: rgba(255, 255, 255, 0.82);
}

.orti-material-card-dark {
    color: white;
    background: #292928;
}

.orti-material-card-dark p {
    color: #bdbdbd;
}


/* Tablet */

@media (max-width: 992px) {

    .orti-specifications-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .orti-specifications-content {
        max-width: 750px;
    }
}


/* Smartphone */

@media (max-width: 600px) {

    .orti-specifications-section {
        padding: 90px 0;
    }

    .orti-specifications-section::before {
        display: none;
    }

    .orti-specifications-content h2 {
        font-size: 40px;
    }

    .orti-showroom-box {
        grid-template-columns: 1fr;
    }

    .orti-specifications-button {
        width: 100%;
    }

    .orti-specifications-visual {
        grid-template-columns: 1fr;
    }

    .orti-material-card {
        min-height: 245px;
    }
}

/* =========================
   RESIDENZA GLI ORTI
   CTA FINALE
========================= */

.orti-final-cta{
    position:relative;
    overflow:hidden;
    padding:130px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(200,164,93,.16), transparent 32%),
        linear-gradient(135deg, #151515 0%, #22201c 55%, #171717 100%);
}

.orti-final-cta::before{
    content:"GLI ORTI";
    position:absolute;
    left:50%;
    bottom:-55px;
    transform:translateX(-50%);
    white-space:nowrap;
    font-size:190px;
    line-height:1;
    font-weight:800;
    letter-spacing:12px;
    color:rgba(255,255,255,.025);
    pointer-events:none;
}

.orti-final-cta-content{
    position:relative;
    z-index:1;
    max-width:850px;
    margin:0 auto;
    text-align:center;
}

.orti-final-cta .section-subtitle{
    display:block;
    margin-bottom:22px;
    color:var(--primary);
    font-size:14px;
    font-weight:700;
    letter-spacing:4px;
}

.orti-final-cta h2{
    margin:0 0 28px;
    color:#fff;
    font-size:64px;
    line-height:1.05;
    font-weight:800;
}

.orti-final-cta p{
    max-width:680px;
    margin:0 auto 42px;
    color:rgba(255,255,255,.72);
    font-size:18px;
    line-height:1.8;
}

.orti-final-cta-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.orti-final-cta-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    min-height:58px;
    padding:0 30px;
    border-radius:999px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    transition:.35s ease;
}

.orti-final-cta-primary{
    color:#171717;
    background:var(--primary);
    box-shadow:0 16px 35px rgba(200,164,93,.23);
}

.orti-final-cta-primary:hover{
    transform:translateY(-4px);
    background:#d7b45f;
    box-shadow:0 20px 42px rgba(200,164,93,.34);
}

.orti-final-cta-secondary{
    color:#fff;
    border:1px solid rgba(255,255,255,.30);
    background:rgba(255,255,255,.04);
}

.orti-final-cta-secondary:hover{
    transform:translateY(-4px);
    color:var(--primary);
    border-color:var(--primary);
    background:rgba(200,164,93,.08);
}

@media(max-width:768px){

    .orti-final-cta{
        padding:90px 0;
    }

    .orti-final-cta::before{
        bottom:-20px;
        font-size:76px;
        letter-spacing:6px;
    }

    .orti-final-cta h2{
        font-size:42px;
    }

    .orti-final-cta p{
        font-size:16px;
    }

    .orti-final-cta-actions{
        flex-direction:column;
    }

    .orti-final-cta-actions a{
        width:100%;
        max-width:330px;
    }
}

/* Sfondo nero sotto la hero */
.hero-project {
    background-color: #20201f;
}

/* =========================================
   LIGHTBOX RESIDENZA GLI ORTI
========================================= */

body.orti-lightbox-open {
    overflow: hidden;
}

.orti-progress-card {
    cursor: zoom-in;
}

.orti-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s linear, visibility 0.14s linear;
}

.orti-lightbox.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.orti-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 29, 27, 0.44);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transform: translateZ(0);
    contain: strict;
    overflow: hidden;
}

.orti-lightbox-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(201, 164, 92, 0.035) 0,
            rgba(201, 164, 92, 0.035) 1px,
            transparent 1px,
            transparent 5px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(201, 164, 92, 0.025) 0,
            rgba(201, 164, 92, 0.025) 1px,
            transparent 1px,
            transparent 90px
        );
    animation: none !important;
}

.orti-lightbox-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.65;
    background: radial-gradient(
        circle at center,
        transparent 40%,
        rgba(29, 29, 27, 0.26) 100%
    );
}

.orti-lightbox-shell {
    position: relative;
    z-index: 2;
    width: min(94vw, 1500px);
    height: min(88vh, 900px);
    opacity: 0;
    transform: none;
    transition: opacity 0.18s ease;
    will-change: opacity;
}

.orti-lightbox-shell,
.orti-lightbox.is-open .orti-lightbox-shell {
    transform: translateZ(0) !important;
    transition: opacity 0.14s linear !important;
}

.orti-lightbox.is-open .orti-lightbox-shell {
    opacity: 1;
    transform: none;
}

.orti-lightbox-shell::before,
.orti-lightbox-shell::after {
    content: none;
    display: none;
    position: absolute;
    z-index: 4;
    width: 75px;
    height: 75px;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.4s ease 0.15s,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.orti-lightbox-shell::before {
    top: 20px;
    left: 55px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    transform: translate(-18px, -18px);
}

.orti-lightbox-shell::after {
    right: 55px;
    bottom: 70px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translate(18px, 18px);
}

.orti-lightbox.is-open .orti-lightbox-shell::before,
.orti-lightbox.is-open .orti-lightbox-shell::after {
    opacity: 1;
    transform: translate(0, 0);
}

.orti-lightbox.is-open .orti-lightbox-label,
.orti-lightbox.is-open .orti-lightbox-caption {
    animation: orti-text-reveal 0.45s ease 0.2s both;
}

.orti-lightbox-figure {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 25px 70px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orti-lightbox-figure img {
    display: block;
    width: 100%;
    height: calc(100% - 75px);
    object-fit: contain;
    filter: none;
    clip-path: none;
    border: none;
    outline: none;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    contain: layout paint;
}

.orti-lightbox.is-open .orti-lightbox-figure img {
    animation: orti-open-60fps 0.24s
        cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.orti-lightbox-figure::before {
    content: none;
    display: none;
    position: absolute;
    top: 25px;
    bottom: 75px;
    left: 8%;
    width: 2px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    background: var(--primary);
    box-shadow: 0 0 28px rgba(201, 164, 92, 0.95);
    animation: none;
}

.orti-lightbox.is-open .orti-lightbox-figure::before {
    animation: orti-gold-scan 0.8s ease-out 0.05s both;
}

.orti-lightbox-label {
    position: absolute;
    top: 42px;
    left: 90px;
    z-index: 4;
    padding: 9px 14px;
    border: none;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-body);
    color: var(--primary);
    background: rgba(29, 29, 27, 0.48);
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(201, 164, 92, 0.35);
}

.orti-lightbox-label::before {
    content: "●  LIVE // ";
    color: var(--primary);
    text-shadow: 0 0 12px rgba(201, 164, 92, 0.8);
    opacity: 0.85;
    animation: none;
}

.orti-lightbox-caption {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #ffffff;
    border: none;
}

#ortiLightboxCounter {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    font-family: var(--font-body);
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 12px rgba(201, 164, 92, 0.5);
}

#ortiLightboxTitle {
    font-size: 17px;
    font-weight: 600;
    text-align: right;
    letter-spacing: 0.5px;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.orti-lightbox-close,
.orti-lightbox-arrow {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: none;
    color: #ffffff;
    background: rgba(29, 29, 27, 0.52);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    clip-path: polygon(
        18% 0,
        100% 0,
        100% 78%,
        82% 100%,
        0 100%,
        0 22%
    );
    box-shadow: none;
    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.orti-lightbox-close {
    top: 0;
    right: 5px;
    width: 54px;
    height: 54px;
    font-size: 35px;
}

.orti-lightbox-close:hover {
    color: var(--dark);
    background: var(--primary);
    transform: rotate(90deg);
}

.orti-lightbox-arrow {
    top: 50%;
    width: 52px;
    height: 72px;
    font-size: 48px;
    transform: translateY(-50%);
}

.orti-lightbox-prev {
    left: 5px;
}

.orti-lightbox-next {
    right: 5px;
}

.orti-lightbox-arrow:hover {
    color: var(--dark);
    background: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.orti-lightbox-close:hover,
.orti-lightbox-arrow:hover {
    color: var(--dark);
    background: var(--primary);
    box-shadow: 0 0 28px rgba(201, 164, 92, 0.5);
}

.orti-lightbox.is-open .orti-lightbox-label,
.orti-lightbox.is-open .orti-lightbox-caption,
.orti-lightbox-label::before {
    animation: none !important;
}

@keyframes orti-gold-scan {
    0% {
        left: 8%;
        opacity: 0;
    }

    20%,
    80% {
        opacity: 1;
    }

    100% {
        left: 92%;
        opacity: 0;
    }
}

@keyframes orti-text-reveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orti-open-60fps {
    0% {
        opacity: 0;
        transform: translate3d(0, 9px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 768px) {
    .orti-lightbox-shell {
        width: 100vw;
        height: 100vh;
    }

    .orti-lightbox-figure {
        padding: 75px 15px 45px;
    }

    .orti-lightbox-figure img {
        height: calc(100% - 90px);
    }

    .orti-lightbox-label {
        top: 25px;
        left: 18px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .orti-lightbox-close {
        top: 18px;
        right: 18px;
        width: 45px;
        height: 45px;
    }

    .orti-lightbox-arrow {
        width: 44px;
        height: 58px;
        font-size: 38px;
    }

    .orti-lightbox-prev {
        left: 12px;
    }

    .orti-lightbox-next {
        right: 12px;
    }

    .orti-lightbox-caption {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    #ortiLightboxTitle {
        font-size: 14px;
        text-align: left;
    }

    .orti-lightbox-shell::before {
        top: 70px;
        left: 14px;
        width: 48px;
        height: 48px;
    }

    .orti-lightbox-shell::after {
        right: 14px;
        bottom: 42px;
        width: 48px;
        height: 48px;
    }
}

/* =========================================================
   HOME — ABOUT PREMIUM STATS
   ========================================================= */

.home-premium-page .home-about .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
  margin-top: 28px;
}

.home-premium-page .home-about .stat {
  position: relative;
  min-width: 0;
  min-height: 150px;
  padding: 16px 14px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(211, 166, 75, 0.13),
      transparent 34%
    ),
    linear-gradient(145deg, #191816 0%, #0f0f0e 100%);
  border: 1px solid rgba(211, 166, 75, 0.46);
  border-radius: 5px;
  box-shadow:
    0 18px 35px rgba(15, 12, 7, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #f7f2e8;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.home-premium-page .home-about .stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035),
      transparent 42%
    );
}

.home-premium-page .home-about .stat::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #d3a64b 18%,
      #d3a64b 82%,
      transparent
    );
  opacity: 0.88;
}

.home-premium-page .home-about .stat-icon {
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 0 9px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d2a64a;
  background: rgba(210, 166, 74, 0.08);
  border: 1px solid rgba(210, 166, 74, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 8px 20px rgba(0, 0, 0, 0.16);
  transition:
    color 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-premium-page .home-about .stat-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    color 320ms ease,
    stroke 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-premium-page .home-about .stat h3 {
  margin: 0 0 5px;
  color: #d2a64a;
  font-family:var(--font-body);
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.home-premium-page .home-about .stat p {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.91);
  font-family:var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-premium-page .home-about .stat:hover {
    transform: translateY(-7px);
    border-color: rgba(211, 166, 75, 0.88);
    box-shadow:
      0 25px 48px rgba(15, 12, 7, 0.28),
      0 0 0 1px rgba(211, 166, 75, 0.08);
  }

  .home-premium-page .home-about .stat:hover .stat-icon {
    color: #11110f;
    background: #d2a64a;
    border-color: #e5c274;
    box-shadow:
      0 0 0 5px rgba(210, 166, 74, 0.10),
      0 14px 30px rgba(0, 0, 0, 0.30),
      0 0 24px rgba(210, 166, 74, 0.20);
    transform: translateY(-2px) scale(1.04);
  }

  .home-premium-page .home-about .stat:hover .stat-icon svg {
    transform: scale(1.035);
  }

  .home-premium-page .stat--experience:hover .stat-icon svg {
    transform: scale(1.035) rotate(3deg);
  }

  .home-premium-page .stat--projects:hover .stat-icon svg {
    transform: scale(1.035) translateY(-1px);
  }

  .home-premium-page .stat--energy:hover .stat-icon svg {
    transform: scale(1.035) rotate(-3deg);
  }

  .home-premium-page .stat--complete:hover .stat-icon svg {
    transform: scale(1.035) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-premium-page .home-about .stat,
  .home-premium-page .home-about .stat-icon,
  .home-premium-page .home-about .stat-icon svg {
    transition-duration: 0.01ms;
    animation: none;
    transform: none;
  }
}

@media (max-width: 1220px) {
  .home-premium-page .home-about .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-premium-page .home-about .stat {
    min-height: 145px;
  }
}

@media (max-width: 560px) {
  .home-premium-page .home-about .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-premium-page .home-about .stat {
    min-height: 132px;
    padding: 15px;
  }

  .home-premium-page .home-about .stat h3 {
    font-size: 1.8rem;
  }

  .home-premium-page .home-about .stat p {
    font-size: 0.75rem;
  }
}

/* =========================================================
   HOME — PROJECTS PREMIUM HORIZONTAL ROW
   ========================================================= */

.home-premium-page .home-projects {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0 clamp(82px, 9vw, 130px);
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(210, 166, 74, 0.07),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #fbf8f1 0%,
      #f6f1e7 100%
    );
  overflow: hidden;
}

.home-premium-page .home-projects .container {
  position: relative;
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.home-premium-page .home-projects .projects-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.home-premium-page .home-projects .projects-heading-copy {
  max-width: 980px;
}

.home-premium-page .home-projects .projects-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #bf8a2e;
  font-family:var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-premium-page .home-projects h2 {
  margin: 0;
  max-width: 1000px;
  color: #171613;
  font-family:var(--font-body);
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.home-premium-page .home-projects .projects-heading-line {
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
  box-shadow: 0 0 12px rgba(210, 166, 74, 0.22);
}



.home-premium-page .home-projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-premium-page .home-projects .project-card {
  position: relative;
  min-width: 0;
  height: 360px;
  overflow: hidden;
  isolation: isolate;
  display: block;
  color: inherit;
  text-decoration: none;
  background: #0d0d0c;
  border: 1px solid rgba(197, 145, 51, 0.72);
  border-radius: 7px;
  box-shadow:
    0 22px 42px rgba(48, 35, 12, 0.20),
    0 6px 16px rgba(48, 35, 12, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transform: translateZ(0);
  transition:
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    box-shadow 440ms ease;
}

.home-premium-page .home-projects .project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(3, 3, 3, 0.02) 0%,
      rgba(3, 3, 3, 0.08) 34%,
      rgba(3, 3, 3, 0.62) 62%,
      rgba(3, 3, 3, 0.96) 100%
    );
}

.home-premium-page .home-projects .project-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: 46px;
  height: 46px;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 49%,
      #d2a64a 50%,
      #bd862b 100%
    );
  filter: drop-shadow(-5px -5px 12px rgba(210, 166, 74, 0.12));
  transition:
    width 380ms cubic-bezier(0.22, 1, 0.36, 1),
    height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms ease;
}

.home-premium-page .home-projects .project-card img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    saturate(0.86)
    contrast(1.08)
    brightness(0.88);
  transform: scale(1.001);
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease;
}

.home-premium-page .home-projects .project-overlay {
  position: absolute;
  left: 22px;
  right: 24px;
  bottom: 25px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.home-premium-page .home-projects .project-overlay h3 {
  position: relative;
  margin: 0 0 20px;
  color: #fffaf0;
  font-family:var(--font-body);
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: none;
  text-shadow:
    0 4px 14px rgba(0, 0, 0, 0.88),
    0 1px 3px rgba(0, 0, 0, 1);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 320ms ease;
}

.home-premium-page .home-projects .project-overlay h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, #d2a64a, #e5c378);
  box-shadow: 0 0 12px rgba(210, 166, 74, 0.28);
  transition:
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
}

.home-premium-page .home-projects .project-overlay p {
  margin: 0;
  max-width: 92%;
  color: rgba(255, 255, 255, 0.90);
  font-family:var(--font-body);
  font-size: 0.78rem;
  font-weight: 430;
  line-height: 1.38;
  letter-spacing: 0.002em;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.96),
    0 1px 2px rgba(0, 0, 0, 1);
}

@media (hover: hover) and (pointer: fine) {
  .home-premium-page .home-projects .project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(231, 193, 111, 0.96);
    box-shadow:
      0 34px 60px rgba(48, 35, 12, 0.28),
      0 12px 24px rgba(48, 35, 12, 0.14),
      0 0 0 1px rgba(210, 166, 74, 0.10);
  }

  .home-premium-page .home-projects .project-card:hover img {
    transform: scale(1.065);
    filter:
      saturate(0.98)
      contrast(1.10)
      brightness(0.93);
  }

  .home-premium-page .home-projects .project-card:hover::after {
    width: 60px;
    height: 60px;
    filter: drop-shadow(-8px -8px 18px rgba(210, 166, 74, 0.22));
  }

  .home-premium-page .home-projects .project-card:hover .project-overlay h3 {
    color: #ffffff;
    transform: translateY(-3px);
  }

  .home-premium-page .home-projects .project-card:hover .project-overlay h3::after {
    width: 96px;
    box-shadow: 0 0 18px rgba(210, 166, 74, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-premium-page .home-projects .project-card,
  .home-premium-page .home-projects .project-card img,
  .home-premium-page .home-projects .project-card::after,
  .home-premium-page .home-projects .project-overlay h3,
  .home-premium-page .home-projects .project-overlay h3::after {
    transition-duration: 0.01ms;
    animation: none;
  }

  .home-premium-page .home-projects .project-card:hover {
    transform: none;
  }

  .home-premium-page .home-projects .project-card:hover img {
    transform: none;
  }
}

@media (max-width: 1280px) {
  .home-premium-page .home-projects .container {
    width: min(1180px, calc(100% - 40px));
  }

  .home-premium-page .home-projects .projects-grid {
    gap: 14px;
  }

  .home-premium-page .home-projects .project-card {
    height: 330px;
  }

  .home-premium-page .home-projects .project-overlay {
    left: 18px;
    right: 20px;
    bottom: 22px;
  }
}

@media (max-width: 1100px) {
  .home-premium-page .home-projects .projects-heading-row {
    align-items: flex-start;
  }

  .home-premium-page .home-projects .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .home-premium-page .home-projects .project-card {
    height: 360px;
  }
}

@media (max-width: 700px) {
  .home-premium-page .home-projects {
    padding: 64px 0 78px;
  }

  .home-premium-page .home-projects .container {
    width: min(100% - 28px, 620px);
  }

  .home-premium-page .home-projects .projects-heading-row {
    display: block;
    margin-bottom: 28px;
  }

  .home-premium-page .home-projects .projects-controls {
    display: none;
  }

  .home-premium-page .home-projects h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
    line-height: 1;
  }

  .home-premium-page .home-projects .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-premium-page .home-projects .project-card {
    height: 340px;
  }
}

@media (max-width: 420px) {
  .home-premium-page .home-projects .project-card {
    height: 310px;
  }

  .home-premium-page .home-projects .project-overlay {
    left: 18px;
    right: 18px;
    bottom: 21px;
  }

  .home-premium-page .home-projects .project-overlay h3 {
    font-size: 1.25rem;
  }

  .home-premium-page .home-projects .project-overlay p {
    max-width: 95%;
    font-size: 0.75rem;
  }
}

/* =========================================================
   HOME — SLIDER PREMIUM NERO/ORO
   ========================================================= */

.home-premium-page .home-slider {
  position: relative;
  padding: 12px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(210, 166, 74, 0.08),
      transparent 46%
    ),
    #0c0c0b;
  border-top: 1px solid rgba(210, 166, 74, 0.22);
  border-bottom: 1px solid rgba(210, 166, 74, 0.22);
}

.home-premium-page .home-slider .slider-heading h2 {
  color: #f7f2e8;
}

.home-premium-page .home-slider .section-subtitle {
  color: #d2a64a;
}

.home-premium-page .home-slider .slider-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(210, 166, 74, 0.78);
  border-radius: 8px;
  background: #0b0b0a;
  box-shadow:
    0 26px 65px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 30px rgba(210, 166, 74, 0.08);
}

.home-premium-page .home-slider .slider-wrapper::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(210, 166, 74, 0.24);
  border-radius: 5px;
}

.home-premium-page .home-slider .slider-track {
  border-radius: 6px;
  border-color: transparent;
  box-shadow: none;
}

.home-premium-page .home-slider .slider-track::before {
  border-color: rgba(210, 166, 74, 0.14);
  border-radius: 4px;
}

.home-premium-page .home-slider .slider-slide {
  position: absolute;
  inset: 0;
  background: #0b0b0a;
}

.home-premium-page .home-slider .slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    saturate(0.88)
    contrast(1.06)
    brightness(0.82);
  transform: scale(1.001);
  transition:
    transform 7s ease,
    filter 700ms ease;
}

.home-premium-page .home-slider .slider-slide.active img {
  transform: scale(1.035);
}

.home-premium-page .home-slider .slider-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(4, 4, 4, 0.38) 0%,
      rgba(4, 4, 4, 0.10) 52%,
      rgba(4, 4, 4, 0.24) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 4, 4, 0.05) 35%,
      rgba(4, 4, 4, 0.55) 100%
    );
  box-shadow: none;
}

.home-premium-page .home-slider .slider-caption {
  position: absolute;
  left: clamp(34px, 7vw, 100px);
  bottom: clamp(34px, 5vw, 62px);
  right: auto;
  z-index: 7;
  width: min(470px, calc(100% - 120px));
  min-height: 0;
  max-height: none;
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #171613;
  background:
    linear-gradient(
      145deg,
      rgba(255, 254, 250, 0.99) 0%,
      rgba(247, 242, 232, 0.99) 100%
    );
  border: 1px solid rgba(210, 166, 74, 0.62);
  border-radius: 6px;
  box-shadow:
    0 26px 65px rgba(0, 0, 0, 0.36),
    0 8px 22px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: visible;
  isolation: isolate;
}

.home-premium-page .home-slider .slider-caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #bd8b32, #e0bd70);
  box-shadow: 0 0 14px rgba(210, 166, 74, 0.24);
}

.home-premium-page .home-slider .slider-caption::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(210, 166, 74, 0.10);
  border-radius: 3px;
}

.home-premium-page .home-slider .slider-caption span {
  display: block;
  margin: 2px 0 10px;
  color: #b8832c;
  font-family:var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-premium-page .home-slider .slider-caption span::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 9px;
  background: #d2a64a;
}

.home-premium-page .home-slider .slider-caption h3 {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0 0 15px;
  color: #171613;
  font-family:var(--font-body);
  font-size: clamp(1.85rem, 2.7vw, 2.75rem);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -0.045em;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.home-premium-page .home-slider .slider-caption-footer {
  width: 100%;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.home-premium-page .home-slider .slider-caption a,
.home-premium-page .home-slider .slider-caption .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: #d4aa58;
  background: #121210;
  border: 1px solid rgba(210, 166, 74, 0.58);
  border-radius: 2px;
  font-family:var(--font-body);
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-premium-page .home-slider .slider-arrow {
  z-index: 8;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d2a64a;
  background: rgba(10, 10, 9, 0.84);
  border: 1px solid rgba(210, 166, 74, 0.68);
  border-radius: 50%;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-premium-page .home-slider .slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.43);
  transition:
    width 300ms ease,
    background-color 300ms ease,
    box-shadow 300ms ease;
}

.home-premium-page .home-slider .slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: #d2a64a;
  box-shadow: 0 0 15px rgba(210, 166, 74, 0.38);
}

.home-premium-page .home-slider .slider-counter {
  position: static;
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b9842c;
  background: rgba(255, 253, 248, 0.90);
  border: 1px solid rgba(210, 166, 74, 0.52);
  border-radius: 2px;
  font-family:var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  box-shadow: none;
}

.home-premium-page .home-slider .slider-slide .slider-caption {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease 120ms,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.home-premium-page .home-slider .slider-slide.active .slider-caption,
.home-premium-page .home-slider .slider-slide.is-active .slider-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .home-premium-page .home-slider .slider-caption a:hover,
  .home-premium-page .home-slider .slider-caption .btn:hover {
    color: #11110f;
    background: #d2a64a;
    border-color: #e2bd6d;
    transform: translateY(-2px);
  }

  .home-premium-page .home-slider .slider-arrow:hover {
    color: #11110f;
    background: #d2a64a;
    border-color: #e4c173;
    transform: translateY(-50%) scale(1.07);
  }
}

@media (max-width: 1024px) {
  .home-premium-page .home-slider .slider-caption {
    left: 34px;
    bottom: 34px;
    width: min(440px, calc(100% - 100px));
    padding: 22px 23px 20px;
  }

  .home-premium-page .home-slider .slider-caption h3 {
    font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  }
}

@media (max-width: 768px) {
  .home-premium-page .home-slider {
    padding: 8px;
  }

  .home-premium-page .home-slider .slider-slide {
    min-height: 500px;
  }

  .home-premium-page .home-slider .slider-caption {
    left: 18px;
    right: 18px;
    bottom: 22px;
    width: auto;
    max-width: none;
    padding: 21px 19px 18px;
  }

  .home-premium-page .home-slider .slider-caption h3 {
    margin-bottom: 13px;
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.06;
  }

  .home-premium-page .home-slider .slider-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .home-premium-page .home-slider .slider-caption {
    left: 14px;
    right: 14px;
    bottom: 18px;
    padding: 19px 16px 16px;
  }

  .home-premium-page .home-slider .slider-caption h3 {
    font-size: 1.55rem;
    letter-spacing: -0.035em;
  }

  .home-premium-page .home-slider .slider-caption-footer {
    align-items: stretch;
    gap: 10px;
  }

  .home-premium-page .home-slider .slider-caption a,
  .home-premium-page .home-slider .slider-caption .btn {
    flex: 1 1 auto;
    padding-inline: 12px;
  }

  .home-premium-page .home-slider .slider-counter {
    min-width: 66px;
  }
}
/* HOME — SERVIZI: hover premium icone */

.home-premium-page .service-card .service-icon {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.home-premium-page .service-card .service-icon svg,
.home-premium-page .service-card .service-icon i {
  transition:
    color 0.3s ease,
    fill 0.3s ease,
    stroke 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .home-premium-page .service-card:hover .service-icon {
    color: #11110f;
    background: #d2a64a;
    border-color: #e3bf70;
    box-shadow:
      0 0 0 5px rgba(210, 166, 74, 0.1),
      0 12px 26px rgba(210, 166, 74, 0.22);
    transform: translateY(-3px) scale(1.06);
  }

  .home-premium-page .service-card:hover .service-icon svg,
  .home-premium-page .service-card:hover .service-icon i {
    color: #11110f;
    fill: currentColor;
    stroke: currentColor;
    transform: scale(1.08);
  }
}
/* HOME — nasconde definitivamente le frecce decorative dei progetti */
.home-premium-page .home-projects .projects-controls,
.home-premium-page .home-projects .projects-control {
  display: none;
}

/* =========================================================
   PUBBLICO & SANITÀ — REALIZZAZIONI PREMIUM (editoriale + portfolio)
   ========================================================= */

.public-health-showcase {
  --health-black: var(--dark);
  --health-black-soft: #1a1916;
  --health-charcoal: var(--dark-soft);
  --health-ivory: #f3eee5;
  --health-ivory-light: #faf7f0;
  --health-gold: var(--primary);
  --health-gold-light: #dfbd73;
  --health-white: var(--white);
  --health-text: #171613;
  --health-muted: #8a8479;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.public-health-showcase .container {
  max-width: 1360px;
}

/* ---- Hero: pannello editoriale + portfolio scuro affiancati ---- */

.public-health-showcase .phs-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
}

.public-health-showcase .phs-editorial {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(200, 155, 66, 0.10), transparent 42%),
    repeating-linear-gradient(90deg, rgba(23, 22, 19, 0.035) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(23, 22, 19, 0.035) 0 1px, transparent 1px 90px),
    linear-gradient(160deg, var(--health-ivory-light) 0%, var(--light) 100%);
  padding: clamp(56px, 6vw, 96px) clamp(28px, 4vw, 64px);
}

.public-health-showcase .phs-editorial::before,
.public-health-showcase .phs-editorial::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 155, 66, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.public-health-showcase .phs-editorial::before {
  top: -140px;
  right: -180px;
  width: 480px;
  height: 480px;
}

.public-health-showcase .phs-editorial::after {
  top: -40px;
  right: -70px;
  width: 300px;
  height: 300px;
  border-color: rgba(200, 155, 66, 0.12);
}

.public-health-showcase .phs-editorial-inner {
  position: relative;
  z-index: 1;
}

.public-health-showcase .phs-editorial-copy {
  max-width: 460px;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-health-showcase.active .phs-editorial-copy {
  opacity: 1;
  transform: translateY(0);
}

.public-health-showcase .phs-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-family:var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.public-health-showcase .phs-title {
  margin: 0 0 20px;
  color: var(--health-text);
  font-family:var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.public-health-showcase .phs-title-gold {
  color: var(--primary);
}

.public-health-showcase .phs-description {
  max-width: 420px;
  margin: 0 0 26px;
  color: var(--health-muted);
  font-family:var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
}

.public-health-showcase .phs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--dark);
  font-family:var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    background 320ms ease;
}

.public-health-showcase .phs-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-health-showcase .phs-cta:focus-visible {
  outline: 2px solid var(--health-text);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .public-health-showcase .phs-cta:hover {
    background: var(--health-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(200, 155, 66, 0.32);
  }

  .public-health-showcase .phs-cta:hover svg {
    transform: translateX(4px);
  }
}

.public-health-showcase .phs-divider {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 1px;
  margin: 28px 0 24px;
  background: linear-gradient(90deg, rgba(200, 155, 66, 0.5), rgba(200, 155, 66, 0));
}

.public-health-showcase .phs-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.public-health-showcase .phs-values li {
  display: flex;
  align-items: center;
  gap: 13px;
}

.public-health-showcase .phs-values svg {
  width: 21px;
  height: 21px;
  color: var(--primary);
  flex: 0 0 auto;
}

.public-health-showcase .phs-values span {
  font-family:var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--health-text);
}

/* ---- Portfolio scuro con card sovrapposte ---- */

.public-health-showcase .phs-portfolio {
  position: relative;
  background:
    radial-gradient(circle at 20% 90%, rgba(200, 155, 66, 0.07), transparent 42%),
    linear-gradient(180deg, var(--dark) 0%, var(--health-black-soft) 100%);
  padding: clamp(56px, 6vw, 96px) clamp(28px, 4vw, 56px);
}

.public-health-showcase .phs-portfolio-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 30px;
  align-items: center;
  height: 100%;
}

.public-health-showcase .phs-cards-stage {
  position: relative;
  height: 520px;
}

.public-health-showcase .phs-card {
  position: absolute;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(200, 155, 66, 0.4);
  border-radius: var(--radius-card);
  background: var(--dark-soft);
  box-shadow: var(--shadow-premium);
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    box-shadow 420ms ease;
}

.public-health-showcase.active .phs-card {
  opacity: 1;
}

.public-health-showcase .phs-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.08) brightness(0.72);
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease;
}

.public-health-showcase .phs-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 6, 5, 0.05) 0%, rgba(6, 6, 5, 0.32) 45%, rgba(6, 6, 5, 0.92) 100%);
}

.public-health-showcase .phs-card-number {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  color: var(--health-gold-light);
  font-family:var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.public-health-showcase .phs-card-dot {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(200, 155, 66, 0.6);
}

.public-health-showcase .phs-card-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.public-health-showcase .phs-card-category {
  color: var(--health-gold-light);
  font-family:var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-health-showcase .phs-card-overlay h3 {
  margin: 0;
  color: var(--white);
  font-family:var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.14;
}

.public-health-showcase .phs-card-city {
  color: #c8c2b6;
  font-family:var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
}

.public-health-showcase .phs-card-01 {
  left: 0%;
  top: 9%;
  width: 25%;
  height: 62%;
  z-index: 1;
  transform: translateY(40px) rotate(-3deg);
  transition-duration: 780ms;
}

.public-health-showcase .phs-card-01 img {
  filter: saturate(0.78) contrast(1.05) brightness(0.55);
}

.public-health-showcase.active .phs-card-01 {
  transform: translateY(0) rotate(-3deg);
  transition-delay: 80ms;
}

.public-health-showcase .phs-card-02 {
  left: 19%;
  top: 1%;
  width: 27%;
  height: 78%;
  z-index: 3;
  transform: translateY(40px) rotate(-1.5deg);
}

.public-health-showcase.active .phs-card-02 {
  transform: translateY(0) rotate(-1.5deg);
  transition-delay: 180ms;
}

.public-health-showcase .phs-card-03 {
  left: 41%;
  top: -5%;
  width: 33%;
  height: 98%;
  z-index: 5;
  border-color: rgba(223, 189, 115, 0.6);
  box-shadow: 0 38px 76px rgba(0, 0, 0, 0.52);
  transform: translateY(40px) rotate(0deg);
}

.public-health-showcase.active .phs-card-03 {
  transform: translateY(0) rotate(0deg);
  transition-delay: 260ms;
}

.public-health-showcase .phs-card-04 {
  left: 69%;
  top: 8%;
  width: 25%;
  height: 60%;
  z-index: 2;
  transform: translateY(40px) rotate(2.5deg);
  transition-duration: 780ms;
}

.public-health-showcase.active .phs-card-04 {
  transform: translateY(0) rotate(2.5deg);
  transition-delay: 340ms;
}

@media (hover: hover) and (pointer: fine) {
  .public-health-showcase .phs-card-01:hover {
    transform: translateY(-6px) rotate(-3deg);
  }

  .public-health-showcase .phs-card-02:hover {
    transform: translateY(-6px) rotate(-1.5deg);
  }

  .public-health-showcase .phs-card-03:hover {
    transform: translateY(-6px) rotate(0deg);
  }

  .public-health-showcase .phs-card-04:hover {
    transform: translateY(-6px) rotate(2.5deg);
  }

  .public-health-showcase .phs-card:hover {
    border-color: rgba(223, 189, 115, 0.78);
    box-shadow: 0 34px 66px rgba(0, 0, 0, 0.5);
  }

  .public-health-showcase .phs-card:hover img {
    transform: scale(1.035);
  }
}

.public-health-showcase .phs-portfolio-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms ease 420ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 420ms;
}

.public-health-showcase.active .phs-portfolio-side {
  opacity: 1;
  transform: translateY(0);
}

.public-health-showcase .phs-arrows {
  display: flex;
  gap: 10px;
}

.public-health-showcase .phs-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(200, 155, 66, 0.28);
  color: rgba(247, 244, 237, 0.45);
}

.public-health-showcase .phs-arrow svg {
  width: 17px;
  height: 17px;
}

.public-health-showcase .phs-arrow-next {
  border-color: rgba(200, 155, 66, 0.7);
  color: var(--health-gold-light);
  background: rgba(200, 155, 66, 0.08);
}

.public-health-showcase .phs-portfolio-quote {
  margin: 0;
  max-width: 210px;
  color: #cfc9bc;
  font-family:var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.public-health-showcase .phs-portfolio-mini-cta {
  color: var(--health-gold-light);
  font-family:var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---- Blocco collaborazioni ---- */

.public-health-showcase .phs-collab {
  position: relative;
  background: var(--health-black-soft);
  border-top: 1px solid rgba(200, 155, 66, 0.14);
  padding: clamp(46px, 5vw, 74px) 0;
}

.public-health-showcase .phs-collab-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 46px;
  align-items: center;
}

.public-health-showcase .phs-collab-copy {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-health-showcase.active .phs-collab-copy {
  opacity: 1;
  transform: translateY(0);
}

.public-health-showcase .phs-collab-title {
  margin: 12px 0 14px;
  color: var(--white);
  font-family:var(--font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.public-health-showcase .phs-collab-copy p {
  margin: 0;
  max-width: 400px;
  color: var(--health-muted);
  font-family:var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.public-health-showcase .phs-collab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.public-health-showcase .phs-collab-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-left: 1px solid rgba(200, 155, 66, 0.18);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    background 260ms ease;
}

.public-health-showcase .phs-collab-list li:first-child {
  border-left: none;
  padding-left: 0;
}

.public-health-showcase.active .phs-collab-list li {
  opacity: 1;
  transform: translateY(0);
}

.public-health-showcase.active .phs-collab-list li:nth-child(1) {
  transition-delay: 80ms;
}

.public-health-showcase.active .phs-collab-list li:nth-child(2) {
  transition-delay: 160ms;
}

.public-health-showcase.active .phs-collab-list li:nth-child(3) {
  transition-delay: 240ms;
}

.public-health-showcase.active .phs-collab-list li:nth-child(4) {
  transition-delay: 320ms;
}

.public-health-showcase.active .phs-collab-list li:nth-child(5) {
  transition-delay: 400ms;
}

.public-health-showcase .phs-collab-list svg {
  width: 25px;
  height: 25px;
  color: var(--primary);
  flex: 0 0 auto;
}

.public-health-showcase .phs-collab-copy-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.public-health-showcase .phs-collab-name {
  color: var(--white);
  font-family:var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
}

.public-health-showcase .phs-collab-cat {
  color: var(--health-muted);
  font-family:var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .public-health-showcase .phs-collab-list li:hover {
    background: rgba(200, 155, 66, 0.07);
  }

  .public-health-showcase .phs-collab-list li:hover svg {
    color: var(--health-gold-light);
  }
}

/* ---- Fascia statistiche ---- */

.public-health-showcase .phs-stats {
  position: relative;
  background: var(--dark);
  border-top: 1px solid rgba(200, 155, 66, 0.14);
  padding: clamp(30px, 3.6vw, 46px) 0;
}

.public-health-showcase .phs-stats-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.public-health-showcase .phs-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.public-health-showcase .phs-stats-list li {
  flex: 1 1 0;
  padding: 0 20px;
  border-left: 1px solid rgba(200, 155, 66, 0.16);
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.public-health-showcase .phs-stats-list li:first-child {
  border-left: none;
  padding-left: 0;
}

.public-health-showcase.active .phs-stats-list li {
  opacity: 1;
  transform: translateY(0);
}

.public-health-showcase.active .phs-stats-list li:nth-child(1) {
  transition-delay: 80ms;
}

.public-health-showcase.active .phs-stats-list li:nth-child(2) {
  transition-delay: 160ms;
}

.public-health-showcase.active .phs-stats-list li:nth-child(3) {
  transition-delay: 240ms;
}

.public-health-showcase.active .phs-stats-list li:nth-child(4) {
  transition-delay: 320ms;
}

.public-health-showcase .phs-stats-list strong {
  color: var(--health-gold-light);
  font-family:var(--font-heading);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 400;
}

.public-health-showcase .phs-stats-list span {
  color: var(--health-muted);
  font-family:var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.public-health-showcase .phs-commitment {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(200, 155, 66, 0.16);
  padding-left: 24px;
}

.public-health-showcase .phs-commitment p {
  margin: 0;
  max-width: 400px;
  color: var(--health-muted);
  font-family:var(--font-body);
  font-size: 0.84rem;
  line-height: 1.65;
}

.public-health-showcase .phs-signature {
  width: 120px;
  height: 36px;
  color: var(--primary);
  opacity: 0.8;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .public-health-showcase * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .public-health-showcase .phs-editorial-copy,
  .public-health-showcase .phs-portfolio-side,
  .public-health-showcase .phs-collab-copy,
  .public-health-showcase .phs-collab-list li,
  .public-health-showcase .phs-stats-list li,
  .public-health-showcase .phs-card {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .public-health-showcase .container {
    max-width: 1180px;
  }

  .public-health-showcase .phs-cards-stage {
    height: 480px;
  }
}

@media (max-width: 1100px) {
  .public-health-showcase .phs-hero {
    grid-template-columns: 1fr;
  }

  .public-health-showcase .phs-editorial-copy,
  .public-health-showcase .phs-editorial-inner {
    max-width: 620px;
  }

  .public-health-showcase .phs-portfolio-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .public-health-showcase .phs-cards-stage {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .public-health-showcase .phs-card {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: 260px;
    transform: none;
    transition: opacity 700ms ease, border-color 320ms ease, box-shadow 420ms ease;
  }

  .public-health-showcase.active .phs-card {
    transform: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .public-health-showcase .phs-card-01:hover,
    .public-health-showcase .phs-card-02:hover,
    .public-health-showcase .phs-card-03:hover,
    .public-health-showcase .phs-card-04:hover {
      transform: translateY(-6px);
    }
  }

  .public-health-showcase .phs-portfolio-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .public-health-showcase .phs-collab-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .public-health-showcase .phs-stats-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .public-health-showcase .phs-commitment {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(200, 155, 66, 0.16);
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .public-health-showcase .phs-card {
    grid-column: span 1;
  }

  .public-health-showcase .phs-cards-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-health-showcase .phs-collab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 0;
  }

  .public-health-showcase .phs-collab-list li:nth-child(2n+1) {
    border-left: none;
    padding-left: 0;
  }

  .public-health-showcase .phs-stats-list {
    flex-wrap: wrap;
  }

  .public-health-showcase .phs-stats-list li {
    flex: 1 1 50%;
    border-left: none;
    padding-left: 0;
    margin-bottom: 14px;
  }
}

@media (max-width: 620px) {
  .public-health-showcase .phs-cards-stage {
    grid-template-columns: 1fr;
  }

  .public-health-showcase .phs-card {
    height: 240px;
  }

  .public-health-showcase .phs-portfolio-side {
    flex-direction: column;
    align-items: flex-start;
  }

  .public-health-showcase .phs-collab-list {
    grid-template-columns: 1fr;
  }

  .public-health-showcase .phs-collab-list li {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(200, 155, 66, 0.16);
    padding-top: 10px;
  }

  .public-health-showcase .phs-collab-list li:first-child {
    border-top: none;
    padding-top: 0;
  }

  .public-health-showcase .phs-stats-list li {
    flex: 1 1 100%;
    border-top: 1px solid rgba(200, 155, 66, 0.16);
    padding-top: 14px;
  }

  .public-health-showcase .phs-stats-list li:first-child {
    border-top: none;
    padding-top: 0;
  }
}
/* =====================================
   MOBILE REFINEMENT - RISTRUTTURAZIONI
===================================== */

@media(max-width:768px){

    .ristrutturazioni-showcase,
    .ristrutturazioni-advantages,
    .ristrutturazioni-services,
    .ristrutturazioni-gallery,
    .process,
    .partners,
    .cta-project{
        padding-top:60px;
        padding-bottom:60px;
    }


    .section-title p{

        font-size:16px;
        line-height:1.6;

    }


    .ristrutturazioni-showcase .project-text p{

        font-size:16px;
        line-height:1.7;

    }


    .process-card{

        padding:28px 22px;

    }


    .process-number{

        font-size:42px;

    }


    .process-card h3{

        font-size:21px;

    }


    .process-card p{

        font-size:15px;

    }


    .cta-box h2{

        font-size:34px;

    }


}


/* =========================================================
   PREMIUM COMPONENT SYSTEM - FASE 3.4A
   Libreria isolata, ispirata a residenza-gli-orti /
   edilizia-pubblica-sanitaria. Nessuna classe qui è
   referenziata dall'HTML esistente: nessun impatto visivo.
========================================================= */


/* ---------- 1) PREMIUM CARD ---------- */

.premium-card{
    position:relative;
    background:var(--surface);
    border:1px solid rgba(200,164,93,0.3);
    border-radius:20px;
    padding:40px 35px;
    overflow:hidden;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.premium-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 55px rgba(0,0,0,0.14);
    border-color:var(--primary);
}

.premium-card .premium-card-number{
    font-family:var(--font-heading);
    font-size:46px;
    font-weight:800;
    line-height:1;
    color:rgba(200,164,93,0.25);
    margin-bottom:18px;
}

.premium-card .premium-card-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    margin-bottom:20px;
    border-radius:14px;
    background:rgba(200,164,93,0.12);
    color:var(--primary);
    font-size:22px;
}

.premium-card h3{
    font-family:var(--font-heading);
    font-size:var(--text-h3);
    color:var(--dark);
    margin-bottom:12px;
}

.premium-card p{
    font-family:var(--font-body);
    font-size:15px;
    line-height:1.7;
    color:var(--text-soft);
}


/* ---------- 2) EDITORIAL PROJECT CARD ---------- */

.editorial-project{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    align-items:center;
    gap:var(--grid-gap);
}

.editorial-project-content{
    display:flex;
    flex-direction:column;
}

.editorial-project h3{
    font-family:var(--font-heading);
    font-size:34px;
    line-height:1.15;
    color:var(--dark);
    margin:10px 0 16px;
}

.editorial-project p{
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.8;
    color:var(--text-soft);
}

.editorial-project-image{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.editorial-project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.editorial-project:hover .editorial-project-image img{
    transform:scale(1.06);
}

@media(max-width:768px){

    .editorial-project{
        grid-template-columns:1fr;
    }

}


/* ---------- 3) PROJECT NUMBER ---------- */

.project-number{
    display:block;
    font-family:var(--font-heading);
    font-size:110px;
    font-weight:800;
    line-height:0.8;
    letter-spacing:-2px;
    color:transparent;
    -webkit-text-stroke:1.5px var(--primary);
    opacity:0.85;
}

@media(max-width:768px){

    .project-number{
        font-size:70px;
    }

}


/* ---------- 4) PREMIUM GALLERY ---------- */

.editorial-gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:var(--grid-gap);
}

.editorial-gallery-item{
    position:relative;
    height:380px;
    overflow:hidden;
    border-radius:18px;
}

.editorial-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}

.editorial-gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.65) 100%);
    opacity:0;
    transition:opacity .4s ease;
}

.editorial-gallery-item:hover img{
    transform:scale(1.08);
}

.editorial-gallery-item:hover::after{
    opacity:1;
}

.editorial-gallery-caption{
    position:absolute;
    left:22px;
    right:22px;
    bottom:20px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(10px);
    transition:
        opacity .4s ease,
        transform .4s ease;
}

.editorial-gallery-caption span{
    display:block;
    font-family:var(--font-body);
    font-size:12px;
    font-weight:700;
    letter-spacing:2px;
    color:var(--primary);
    margin-bottom:6px;
    text-transform:uppercase;
}

.editorial-gallery-caption h4{
    font-family:var(--font-heading);
    font-size:20px;
    color:#fff;
}

.editorial-gallery-item:hover .editorial-gallery-caption{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:1024px){

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

}

@media(max-width:768px){

    .editorial-gallery{
        grid-template-columns:1fr;
    }

    .editorial-gallery-item{
        height:320px;
    }

}


/* ---------- 5) PREMIUM CTA ---------- */

.cta-premium{
    padding:var(--section-padding) 0;
    background:linear-gradient(135deg, var(--dark) 0%, #2b2b28 100%);
    text-align:center;
    color:#fff;
}

.cta-premium h2{
    font-family:var(--font-heading);
    font-size:var(--text-h2);
    color:#fff;
    margin-bottom:18px;
}

.cta-premium p{
    font-family:var(--font-body);
    font-size:17px;
    line-height:1.7;
    max-width:600px;
    margin:0 auto 30px;
    color:rgba(255,255,255,0.75);
}

/* =========================================================
   HOME PREMIUM VISUAL REFINEMENT
========================================================= */

.home-premium-page .home-numbers{
    padding:72px 0;
    background:#f7f2e8;
}

.home-premium-page .home-numbers .stats-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    margin:0;
    border-top:1px solid rgba(29,29,27,0.14);
    border-bottom:1px solid rgba(29,29,27,0.14);
}

.home-premium-page .home-numbers .stat{
    position:relative;
    min-width:0;
    min-height:184px;
    padding:34px 28px 30px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-end;
    overflow:hidden;
    text-align:left;
    background:transparent;
    border:0;
    border-right:1px solid rgba(29,29,27,0.12);
    border-radius:0;
    box-shadow:none;
}

.home-premium-page .home-numbers .stat:last-child{
    border-right:0;
}

.home-premium-page .home-numbers .stat::before{
    content:"";
    position:absolute;
    left:28px;
    top:0;
    width:42px;
    height:2px;
    background:var(--primary);
}

.home-premium-page .home-numbers .stat-icon{
    position:absolute;
    top:28px;
    right:26px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    color:var(--primary);
    opacity:0.42;
}

.home-premium-page .home-numbers .stat-icon svg{
    width:34px;
    height:34px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.45;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.home-premium-page .home-numbers .stat h3{
    margin:0 0 9px;
    color:var(--dark);
    font-size:clamp(2.5rem,4vw,3.5rem);
    line-height:0.92;
    letter-spacing:-0.045em;
}

.home-premium-page .home-numbers .stat p{
    margin:0;
    color:var(--text-soft);
    font-size:0.78rem;
    font-weight:600;
    line-height:1.35;
    text-transform:uppercase;
    letter-spacing:0.08em;
}

@media(max-width:768px){
    .home-premium-page .home-numbers{
        padding:52px 0;
    }

    .home-premium-page .home-numbers .stats-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .home-premium-page .home-numbers .stat{
        min-height:154px;
        padding:28px 18px 24px;
    }

    .home-premium-page .home-numbers .stat:nth-child(2){
        border-right:0;
    }

    .home-premium-page .home-numbers .stat:nth-child(-n+2){
        border-bottom:1px solid rgba(29,29,27,0.12);
    }

    .home-premium-page .home-numbers .stat::before{
        left:18px;
    }

    .home-premium-page .home-numbers .stat-icon{
        top:22px;
        right:16px;
        width:36px;
        height:36px;
    }

    .home-premium-page .home-numbers .stat-icon svg{
        width:28px;
        height:28px;
    }

    .home-premium-page .home-numbers .stat p{
        max-width:110px;
        font-size:0.68rem;
    }
}

.home-premium-page .home-manifesto{
    padding:88px 0;
}

.home-premium-page .home-manifesto .editorial-project{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:64px;
}

.home-premium-page .home-manifesto .editorial-project-image{
    height:470px;
    border-radius:8px;
}

.home-premium-page .home-manifesto .editorial-project-content{
    max-width:540px;
}

.home-premium-page .home-manifesto .editorial-project-content h2{
    margin:14px 0 22px;
    font-size:clamp(2.2rem,3vw,3.35rem);
    line-height:1.08;
}

.home-premium-page .home-manifesto .editorial-project-content p{
    line-height:1.82;
}

.home-premium-page .home-services{
    padding:88px 0;
}

.home-premium-page .home-services .services-grid{
    gap:18px;
    margin-top:30px;
    align-items:stretch;
}

.home-premium-page .home-services .premium-card{
    min-height:292px;
    padding:32px 28px 30px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.home-premium-page .home-services .premium-card-number{
    margin-bottom:12px;
    font-size:38px;
}

.home-premium-page .home-services .premium-card-icon{
    width:46px;
    height:46px;
    margin-bottom:18px;
    border-radius:8px;
    font-size:19px;
}

.home-premium-page .home-services .premium-card h3{
    margin-bottom:10px;
    line-height:1.2;
}

.home-premium-page .home-services .premium-card p{
    margin-top:auto;
}

.home-premium-page .home-projects{
    padding:96px 0 104px;
}

.home-premium-page .home-projects .projects-heading-row{
    margin-bottom:42px;
}

.home-premium-page .home-projects .editorial-gallery{
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:22px;
}

.home-premium-page .home-projects .editorial-gallery-item{
    height:360px;
    border-radius:6px;
}

.home-premium-page .home-projects .editorial-gallery-item:nth-child(1){
    grid-column:span 7;
    height:540px;
}

.home-premium-page .home-projects .editorial-gallery-item:nth-child(2){
    grid-column:span 5;
    height:540px;
}

.home-premium-page .home-projects .editorial-gallery-item:nth-child(3),
.home-premium-page .home-projects .editorial-gallery-item:nth-child(4){
    grid-column:span 6;
}

.home-premium-page .home-projects .editorial-gallery-item::after{
    background:linear-gradient(180deg,rgba(5,5,5,0.02) 28%,rgba(5,5,5,0.86) 100%);
    opacity:1;
}

.home-premium-page .home-projects .editorial-gallery-caption{
    left:28px;
    right:28px;
    bottom:26px;
    opacity:1;
    transform:none;
}

.home-premium-page .home-projects .editorial-gallery-caption .project-number{
    margin-bottom:12px;
    color:transparent;
    font-size:2.8rem;
    line-height:0.9;
    letter-spacing:0;
    -webkit-text-stroke:1px rgba(225,189,112,0.9);
}

.home-premium-page .home-projects .editorial-gallery-caption h4{
    max-width:460px;
    font-size:clamp(1.05rem,1.5vw,1.35rem);
    line-height:1.35;
}

.home-premium-page .home-residenza{
    padding:94px 0;
}

.home-premium-page .home-residenza .editorial-project{
    grid-template-columns:minmax(0,1.18fr) minmax(0,0.82fr);
    gap:58px;
}

.home-premium-page .home-residenza .editorial-project-image{
    height:700px;
    border-radius:8px;
}

.home-premium-page .home-residenza .editorial-project-content{
    max-width:490px;
}

.home-premium-page .home-residenza .editorial-project-content h2{
    margin:14px 0 18px;
    font-size:clamp(2.35rem,3.2vw,3.8rem);
    line-height:1.02;
}

.home-premium-page .home-residenza .premium-list{
    margin:24px 0 28px;
}

.home-premium-page .home-residenza .btn-primary{
    width:max-content;
}

@media(max-width:1024px){
    .home-premium-page .home-manifesto .editorial-project,
    .home-premium-page .home-residenza .editorial-project{
        gap:42px;
    }

    .home-premium-page .home-manifesto .editorial-project-image{
        height:430px;
    }

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

    .home-premium-page .home-services .premium-card{
        min-height:254px;
    }

    .home-premium-page .home-projects .editorial-gallery{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .home-premium-page .home-projects .editorial-gallery-item,
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(1),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(2),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(3),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(4){
        grid-column:span 1;
        height:360px;
    }

    .home-premium-page .home-residenza .editorial-project{
        grid-template-columns:minmax(0,1.08fr) minmax(0,0.92fr);
    }

    .home-premium-page .home-residenza .editorial-project-image{
        height:720px;
    }
}

@media(max-width:768px){
    .home-premium-page .home-manifesto,
    .home-premium-page .home-services,
    .home-premium-page .home-projects,
    .home-premium-page .home-residenza{
        padding:68px 0;
    }

    .home-premium-page .home-manifesto .editorial-project,
    .home-premium-page .home-residenza .editorial-project{
        grid-template-columns:1fr;
        gap:34px;
    }

    .home-premium-page .home-manifesto .editorial-project-image{
        height:390px;
    }

    .home-premium-page .home-manifesto .editorial-project-content,
    .home-premium-page .home-residenza .editorial-project-content{
        max-width:none;
    }

    .home-premium-page .home-services .premium-card{
        min-height:238px;
    }

    .home-premium-page .home-projects .projects-heading-row{
        margin-bottom:30px;
    }

    .home-premium-page .home-projects .editorial-gallery{
        grid-template-columns:1fr;
        gap:16px;
    }

    .home-premium-page .home-projects .editorial-gallery-item,
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(1),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(2),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(3),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(4){
        height:300px;
    }

    .home-premium-page .home-projects .editorial-gallery-item:first-child{
        height:380px;
    }

    .home-premium-page .home-projects .editorial-gallery-caption{
        left:22px;
        right:22px;
        bottom:22px;
    }

    .home-premium-page .home-residenza .editorial-project-image{
        height:430px;
    }
}

@media(max-width:600px){
    .home-premium-page .home-manifesto .editorial-project-image{
        height:260px;
    }

    .home-premium-page .home-residenza .editorial-project-image{
        height:300px;
    }

    .home-premium-page .home-residenza .premium-list{
        margin:20px 0 24px;
        gap:10px;
    }

    .home-premium-page .home-residenza .premium-list li{
        font-size:0.9rem;
        line-height:1.5;
    }

    .home-premium-page .home-services .services-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .home-premium-page .home-services .premium-card{
        min-height:0;
        padding:24px 22px;
    }

    .home-premium-page .home-services .premium-card-number{
        margin-bottom:8px;
        font-size:32px;
    }

    .home-premium-page .home-services .premium-card-icon{
        width:40px;
        height:40px;
        margin-bottom:14px;
        font-size:17px;
    }

    .home-premium-page .home-projects .editorial-gallery-item,
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(1),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(2),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(3),
    .home-premium-page .home-projects .editorial-gallery-item:nth-child(4){
        height:240px;
    }

    .home-premium-page .home-projects .editorial-gallery-item:first-child{
        height:310px;
    }
}

/* ==========================================================================
   Collegamento "salta al contenuto".

   E' la prima cosa che incontra chi naviga con la tastiera o con un
   lettore di schermo. Senza, per arrivare al testo deve attraversare
   ogni voce del menu, su ogni pagina, ogni volta.

   Non si nasconde con display:none ne' con visibility:hidden: cosi'
   sarebbe tolto anche dall'ordine di tabulazione e non servirebbe a
   niente. Si porta sopra il bordo alto della finestra e torna giu'
   quando riceve il fuoco.
   ======================================================================== */

.salta-contenuto{
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 14px 22px;
    border-radius: 0 0 6px 6px;
    background: var(--dark, #1d1d1b);
    color: #fcfbf8;
    font-family: var(--font-heading, Manrope, sans-serif);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    transition: top .22s ease;
}

.salta-contenuto:focus,
.salta-contenuto:focus-visible{
    top: 0;
    outline: 3px solid var(--primary, #c9a45c);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    .salta-contenuto{ transition: none }
}
