* {
   font-family: 'Playfair Display', serif; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
/* ==============================
   REGOLA SEO: Reset H1 dentro .marmo-elite
   L'H1 eredita font-size, color e posizione dal contenitore .marmo-elite
   Questo reset elimina solo margin/padding di default del browser
   ============================== */
/* ==============================
   REGOLA SEO: H1 dentro .marmo-elite
   Replica esattamente il comportamento dello span originale
   ============================== */
.marmo-elite h1 {
     position: absolute;
    top: 60%;
    left: 0;
    transform: translateY(-50%);
    font-size: 70px;
    color: white;
    padding-left: 75px;
}
.fotostory {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .fotostory img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: brightness(0.7) grayscale(20%);
    }

#thankYouModal {
    transition: opacity 0.4s ease;
    backdrop-filter: blur(8px); /* Sfoca leggermente lo sfondo dietro il pop-up */
}
/* SHOWROOM STYLES */
.showroom-category {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#f7f7f7;
}

.category-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.category-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 40px;
    opacity: 1;
}

.category-number {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.6);
    display: block;
    margin-bottom: 15px;
    font-weight: 300;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: 12px;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.1;
}

.category-description {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 50px;
    color: rgba(255,255,255,0.9);
}

.category-cta {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 18px 45px;
    transition: all 0.4s ease;
}

.category-cta:hover {
    background: #fff;
    color: #000;
}

.showroom-hero {
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 6px;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 200;
    letter-spacing: 15px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-description {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}
html, body {
    height: 100%;
    scroll-behavior: smooth;
    background-color: #000;
}

/* --- HEADER / NAVBAR (STILE HENGE) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
   
    background-color: transparent;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.header-scrolled {
    background-color: #000 !important;
}

.header-hidden {
    transform: translateY(-100%);
}

.header ul {
    list-style-type: none;
    padding: 25px 0;
    display: flex;
    gap: 27px;
    justify-content: center;
    letter-spacing: 3px
}

.header ul li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.header ul li a:hover {
    transform: scale(1.2);
}

.logo {
    position: absolute;
    
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    height: 40px;
    width: auto;
    pointer-events: auto;
    overflow: hidden;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
    z-index:9999;
    transform: scale(2.5);       /* Zoom nell'immagine */
    object-fit: cover;
    mix-blend-mode: lighten;
}
/* --- HEADER ATELIER (VERSIONE STATICA) --- */
.header-atelier {
    position: absolute !important; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: transparent !important;
    transition: none !important;
    transform: none !important;
}

.nav-atelier {
    list-style-type: none;
    padding: 25px 0;
    display: flex;
    gap: 27px;
    justify-content: center;
    letter-spacing: 3px;
    margin: 0;
}

.nav-atelier li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    /* --- CAMBIO FONT QUI --- */
     font-family: 'Playfair Display', serif; /* Cambia in 'Raleway' se preferisci lo stile moderno */
    font-weight: 300;
    text-transform: uppercase;
    /* ----------------------- */
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-atelier li a:hover {
    transform: scale(1.2);
}

.logo-atelier {
   position: absolute;   
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    height: 90px;
    width: auto;
    pointer-events: auto;
    overflow: hidden;
}
.logo-atelier img{
 height: 100%;
    width: auto;
    display: block;
    z-index:9999;
    transform: scale(3.5);       /* Zoom nell'immagine */
    object-fit: cover;
    mix-blend-mode: lighten;

}

/* Protezione contro lo script JS */
.header-atelier.header-hidden, 
.header-atelier.header-scrolled {
    transform: none !important;
    background-color: transparent !important;
}
/* --- VIDEO E INTRO --- */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

#bg-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.snap-section {
    height: 100vh;
    width: 100%;
    position: relative;
}

.marmo-elite {
    position: absolute;
    top: 60%;
    left: 0;
    transform: translateY(-50%);
    font-size: 70px;
    color: white;
    padding-left: 75px;
}
.ourstory {
    position: absolute;
    top: 60%;
    left: 0;
    transform: translateY(-50%);
    font-size: 70px;
    color: white;
    padding-left: 75px;
}

.testo-intro {
     font-family: 'Raleway', sans-serif !important; /* Cambia in 'Raleway' se preferisci lo stile moderno */
    
    text-transform: uppercase;
    position: absolute;
    top: 65%;
    left: 0;
    font-size: 30px;
    color: white;
    padding-left: 80px;
}

/* --- SLIDER ORIZZONTALE --- */
.atelier-image {
    position: relative !important;
    overflow: visible !important; /* Indispensabile per far uscire la scritta */
}

.safety-disclaimer {
    position: absolute !important;
    
    /* POSIZIONE */
    right: -255px !important;    /* Aumenta questo valore (es -80px) per mandarla più a DESTRA */
    bottom: 15px !important;    /* Aumenta questo valore per portarla più in ALTO rispetto alla base della foto */
    
    /* STILE */
    width: 250px !important;    
    text-align: left !important;
    z-index: 10 !important;
}

.safety-disclaimer p {
    font-family: 'Raleway', sans-serif !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin: 0 !important;
    padding-left: 12px !important;
    border-left: 1px solid #000 !important; /* La linea nera che "stacca" la scritta dalla foto */
}
.vertical-title {
    display: flex !important;
    justify-content: center !important;
    width: 80px !important; /* Larghezza fissa per la colonna del titolo */
    flex-shrink: 0 !important; /* Impedisce al titolo di rimpicciolirsi */
    position: sticky !important; /* Opzionale: il titolo resta lì mentre scorri */
    top: 100px;
    color:#121212 !important;
}

.vertical-title.hidden {
    opacity: 0;
    visibility: hidden;
}

.vertical-title span {
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    font-size: 25px !important;
    letter-spacing: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-left: 1px solid #000 !important;
    padding-left: 10px !important;
}

.vertical-title::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color:rgb(247, 247, 247);
    vertical-align: middle;
    margin-left: 20px;
}

.catalog-container {
    height: auto !important;
    padding: 60px 0 !important;
    display: flex !important;
    flex-direction: row !important; /* Mette titolo e foto sulla stessa riga */
    align-items: flex-start !important; /* Allinea il titolo in alto */
    background-color: rgb(247, 247, 247) !important;
    overflow: hidden !important;
}
.horizontal-scroll-wrapper {
    flex-grow: 1 !important; /* Fa occupare alle foto tutto lo spazio rimanente */
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 20px !important;
    padding-left: 20px !important;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.product-item {
    flex: 0 0 70vw;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.image-box {
    width: 100%;
    height: 70%;
    background: #f0f0f0; 
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; 
    -webkit-user-drag: none;
    user-select: none;
}

.side-description {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    text-decoration: none;
    color: #000;
}

.plus {
    font-size: 35px;
    font-weight: 100;
}

.text-content h2 {
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

@media (min-width: 1024px) {
    .product-item {
        flex: 0 0 30%;
    }
    .image-box {
        height: 60vh;
    }
}

.horizontal-scroll-wrapper:active {
    cursor: grabbing;
}
.product-link {
    -webkit-user-drag: none;
    user-select: none;
}

.product-link img {
    pointer-events: none;
}

.product-item a, 
.product-item img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}

.curated-materials {
    height: 100vh;
    width: 100%;
    background-color: rgb(247, 247, 247);
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-container {
    display: flex;
    width: 90%;
    max-width: 1400px;
    align-items: center;
    gap: 80px;
}

.material-image {
    flex: 1;
    height: 70vh;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material-content {
    flex: 1;
    padding-right: 50px;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 12px;
    color: #000000;
    display: block;
    margin-bottom: 20px;
}

.material-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.material-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
    font-weight: 300;
    margin-bottom: 25px;
}

.uniqueness-claim {
    font-size: 18px;
    color: #2c2c2c !important;
    font-weight: 400 !important;
    border-left: 2px solid #000;
    padding-left: 20px;
    margin-top: 40px;
}

.atelier-section {
    height: 100vh;
    display: flex;
    background-color: #000;
    color: #fff;
}

.atelier-image { flex: 1; overflow: hidden; }
.atelier-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }

.atelier-text { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 0 8%; 
}

.atelier-text h2 { font-weight: 200; letter-spacing: 8px; font-size: 40px; margin: 20px 0; }
.link-minimal { color: #fff; text-decoration: none; border-bottom: 1px solid #fff; width: fit-content; padding-bottom: 5px; font-size: 13px; letter-spacing: 2px; }


/* --- ELITE JOURNAL SECTION --- */
.elite-journal-section {
    padding: 120px 10%;
    background-color: #f9f9f9; /* Stesso grigio chiaro della story-section */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.journal-wrapper {
    max-width: 700px;
    width: 100%;
}

.elite-journal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 52px); /* Coerente con story-section */
    font-weight: 300;
    letter-spacing: 8px;
    margin: 25px 0;
    color: #000;
}

.elite-journal-section p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 45px;
    font-weight: 300;
}

/* Form Minimalista */
.journal-form {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.input-group {
    border-bottom: 1px solid #d1d1d1 !important; /* Questa è l'unica linea che vedrai */
    margin-bottom: 40px;
    transition: border-color 0.3s;
    display: flex;             /* Aggiungi questo */
    flex-direction: column;    /* Aggiungi questo */
    justify-content: flex-end; /* Spinge il contenuto verso la linea */
    min-height: 60px;          /* Dà spazio al testo per non essere tagliato */
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 0;
    outline: none;
    color: #000;
}

.input-group input::placeholder {
    color: #999;
}

.btn-journal {
    background: transparent;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    padding: 10px 0 10px 20px;
    transition: opacity 0.3s ease;
}

.btn-journal:hover {
    opacity: 0.5;
}

.journal-disclaimer {
    display: block;
    margin-top: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

/* Mobile */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        border-bottom: none;
    }
    .input-group input {
        border-bottom: 1px solid #000;
        margin-bottom: 20px;
        text-align: center;
    }
    .btn-journal {
        padding: 10px 0;
        border: 1px solid #000;
    }
}



/* pagina our story */
/* --- FIX MIRATO SOLO PER OUR STORY --- */
/* Container per centrare o spaziare il contenuto */
.network-content {
    text-align: center; /* Opzionale: centra tutto il testo della sezione */
    padding: 60px 20px;
}

/* Lo stile del Bottone Ambassador */
.btn-outline {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 45px;
    background-color: transparent;
    border: 1px solid #000; /* Bordo sottile nero */
    color: #000;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px; /* Spaziatura larga tipica del lusso */
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
}

/* Effetto Hover: il bottone si riempie di nero */
.btn-outline:hover {
    background-color: #000;
    color: #fff; /* Il testo diventa bianco */
    transform: translateY(-3px); /* Si alza leggermente */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Effetto quando cliccato */
.btn-outline:active {
    transform: translateY(-1px);
}

/* Impedisce al sito di allargarsi a destra */
.our-story-page {
    overflow-x: hidden;
    width: 100%;
}

/* Forza l'immagine della cava a stare dentro lo schermo */
.our-story-page .background-video img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important; 
    position: absolute;
    top: 0;
    left: 0;
}

/* AVVICINA I TESTI (OUR STORY + SOTTOTITOLO) */
.our-story-page .marmo-elite {
    top: 55% !important; /* Alza "OUR STORY" */
}

.our-story-page .testostory {
    top: 60% !important; /* Porta il sottotitolo molto più vicino */
}


  
 .testo-intro .marmo-elite {
    position: relative;
    z-index: 10;
    color: #ffffff !important;
}
.testostory{
    font-style: italic;
    position: absolute;
    top: 65%;
    left: 0;
    font-size: 30px;
    color: white;
    padding-left: 80px;
}

.story-section {
    position: relative;
    padding: 15vh 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f9f9f9;
    z-index: 1;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

.dark-chapter {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.dark-chapter h2, 
.dark-chapter p,
.dark-chapter .subtitle {
    color: #ffffff !important;
}

.big-title-background {
    position: absolute;
    font-size: 35vw;
    text-align: center;
    color: rgba(168, 168, 168, 0.043) !important;
    font-weight: 800;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.year-marker {
    font-size: clamp(80px, 15vw, 150px);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: -60px;
    left: -20px;
    z-index: -1;
    pointer-events: none;
}


.subtitle {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
    color: #888;
}

#scritta-nera{
    color:#111
}
.story-section h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.story-section p {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
}

.story-image-wrap {
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.story-image-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}

.story-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
   
}

.reverse { 
    direction: rtl; 
}
.reverse .story-text-floating { 
    direction: ltr; 
}

.signature {
    margin-top: 40px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 26px;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    display: inline-block;
}

.dark-chapter .signature {
    border-top-color: rgba(255,255,255,0.2);
}

.floating-numbers {
    position: absolute;
    right: 3%;
    top: 26%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #555555;
    writing-mode: vertical-rl;
    z-index: 10;
}

.image-caption {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 25px;
    color: #9c9c9c !important ;
    border-left: 1px solid #ddd;
    padding-left: 20px;
    max-width: 90%;
    transition: all 0.5s ease;
}

.story-section:hover .image-caption {
    color: #000;
    border-left-color: #000;
}

.dark-chapter .image-caption {
    color: #888;
    border-left-color: #444;
}

.dark-chapter .image-caption span {
    color: #555;
}
.gray {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.gray:hover {
    filter: grayscale(0%);
}
/* Contenitore della firma */
.firma {
    margin-top: 27px;     /* Spazio dal paragrafo sopra */
    position: relative;    /* Permette micro-regolazioni */
    display: inline-block; /* Fa sì che il div sia grande quanto la firma, non quanto tutta la riga */
}

/* L'immagine della firma vera e propria */
.firma img {
    max-width: 330px;      /* Regola questa larghezza per decidere quanto deve essere grande la firma */
    height: auto;          /* Mantiene le proporzioni */
    display: block;
    
    /* Rende la firma un po' "artistica" spostandola leggermente a sinistra o sopra */
    transform: rotate(-2deg); /* Una leggera rotazione la rende più naturale */
    opacity: 5;             /* Opzionale: la rende meno "pesante" visivamente */
    
    /* Se vuoi che "voli" un po' sopra il testo precedente, usa questo: */
    /* margin-top: -10px; */
}

/* Sezione Join Network */
.join-network {
    padding: 100px 10%;
    background-color: #f9f9f9; /* Un grigio quasi bianco per staccare dal bianco puro */
    text-align: center;
    display: flex;
    justify-content: center;
}

.network-container {
    max-width: 800px;
}

.network-content .subtitle {
    display: block;
    font-size: 12px;
    letter-spacing: 5px;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.network-content h2 {
    font-family: 'Playfair Display', serif; /* O il font che usi per i titoli */
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.network-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .network-content h2 {
        font-size: 2.2rem;
    }
    .join-network {
        padding: 60px 5%;
    }
}


@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reverse {
        direction: ltr;
    }
    .year-marker {
        font-size: 80px;
        top: -30px;
    }
    .floating-numbers {
        display: none;
    }
}

/* --- MAIN FOOTER --- */
.main-footer {
    background-color: #000; /* Nero assoluto come l'header */
    color:  #e2e2e2;
    padding: 100px 0 40px 0;
    font-family: 'Raleway', sans-serif; /* Usiamo Raleway per i testi piccoli */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* Il logo occupa più spazio */
    gap: 60px;
    margin-bottom: 80px;
}

/* Brand Section */
.footer-logo {
      height: 120px;
      padding-left:30px;
    width: auto;
    display: block;
    z-index:9999;
    transform: scale(2.5);       /* Zoom nell'immagine */
    object-fit: cover;
    mix-blend-mode: lighten;
}

.footer-motto {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e2e2e2;
    max-width: 250px;
    line-height: 1.6;
}

/* Typography per le colonne */
.footer-title {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 30px;
    color:  #e2e2e2 !important;
    text-transform: uppercase;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list li a, .footer-info a, .footer-info p {
    color: #e2e2e2;
    text-decoration: none;
    font-size: 12px;

    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-list li a:hover, .footer-info a:hover {
    color: #fff;
}

/* Highlight per Area Riservata */

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #222; /* Linea sottilissima e scura */
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 9px;
    letter-spacing: 2px;
    color: #dcdada;
    text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-motto {
        margin: 0 auto;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}
    /* 1. cataloghi */
        /* 1. cataloghi */
            /* 1. cataloghi */
    /* Questa classe assicura che le immagini siano sempre a colori */
.img-natural img {
    filter: grayscale(0%) !important;
    transition: transform 0.8s ease;
}

/* Opzionale: un leggero effetto zoom al posto del bianco/nero */
.img-natural:hover img {
    transform: scale(1.05);
}

/* pagina your ideas */
/* --- YOUR IDEAS FORM --- */

.form-notice{
   
    padding-top: 15px;
    padding-bottom: 18px;
   
}


.form-section-dark {
    padding: 100px 10%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.form-container-elite {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* RESET TOTALE DEGLI INPUT */
#marmo-form-2026 input, 
#marmo-form-2026 select, 
#marmo-form-2026 textarea {
    -webkit-appearance: none; /* Rimuove stile iOS/Safari */
    -moz-appearance: none;    /* Rimuove stile Firefox */
    appearance: none;         /* Rimuove stile standard */
    
    border: none !important;        /* Cancella tutti i bordi (anche quelli curvi) */
    border-bottom: 1px solid #000 !important; /* Unica linea dritta nera */
    border-radius: 0 !important;    /* Toglie ogni curvatura agli angoli */
    
    background-color: transparent !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    width: 100%;
    outline: none !important;       /* Toglie il cerchio blu/nero quando clicchi */
    box-shadow: none !important;    /* Toglie ombre che sembrano linee curve */
    box-sizing: border-box !important;
}

/* LA LINEA ROSSA (Deve essere identica a quella nera, cambia solo il colore) */
.field-error {
    border-bottom: 2px solid #ff0000 !important;
    margin-bottom: 4px !important; /* Compensa lo spessore maggiore della linea */
}
/* Nascondi i campi professionali all'inizio per evitare il flash al caricamento */
#fields-professional {
    display: none;
}

/* Opzionale: un leggero testo rosso per l'etichetta quando il campo è errato */
.input-box.has-error .main-label {
    color: #ff0000;
}

/* Per il campo telefono (intl-tel-input) servono regole specifiche */
.iti.iti--error input {
    border-bottom: 1px solid #ff0000 !important;
}

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-box { flex: 1; display: flex; flex-direction: column; }
.input-box.full { width: 100%; margin-bottom: 20px; }

.input-box label {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-box input, .input-box textarea, .input-box select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    transition: 0.3s;
}

.input-box input:focus { border-color: #fff; outline: none; }

.error-msg {
    color: #ff4d4d;
    font-size: 10px;
    margin-top: 5px;
    opacity: 0;
    transition: 0.3s;
}

.submit-button-elite {
    width: 100%;
    padding: 20px;
    background: #fff;
    color: #000;
    border: none;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.3s;
}
/* Etichette più grandi e chiare */
.main-label {
    font-family: 'Raleway', sans-serif;
    font-size: 14px; /* Più grandi */
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}
/* 1. Il contenitore: centrato con margin auto */
.elite-selector {
    display: flex;
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    max-width: 450px;
    /* CENTRAGGIO: Il segreto è 'auto' sui lati destro e sinistro */
    margin: 15px auto 40px auto; 
    overflow: hidden;
    background: transparent;
    padding: 0 !important;
}

/* 2. Allineamento della Label superiore */
.input-box.full {
    text-align: center; /* Centra la scritta "Tipo di Profilo" e "Approccio" */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-label {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* 3. La Label interna: invariata ma pulita */
.selector-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 0 !important;
    border: none;
}

/* 4. Lo stato selezionato */
.elite-selector input[type="radio"]:checked + .selector-item {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 0 1px #ffffff; 
}

/* Nasconde i radio button */
.elite-selector input[type="radio"] {
    display: none;
}

/* Linea di divisione centrale */
.selector-item:first-of-type {
    border-right: 1px solid rgba(255,255,255,0.1);
}
/* Spaziatura input */
.input-box input, .input-box textarea {
    font-size: 16px;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 30px;
}

/* Sfondo oscurato */
/* 1. Modal overlay: Centratura corretta */
.modal-overlay {
    /* Fondamentale: deve essere 'flex' per centrare, ma 'none' di default */
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 1000;
    
    /* Regole di centratura */
    align-items: center;
    justify-content: center;
    
    backdrop-filter: blur(5px);
}

/* 2. Scatola del contenuto */
.modal-content {
    background: #fff;
    padding: 60px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative; /* Necessario per ancorare il tasto close */
    animation: modalFadeIn 0.5s ease;
}

/* 3. IL PULSANTE CLOSE (Nero con scritta bianca) */
.close-modal {
    position: absolute;
    top: 0;      /* Attaccato al bordo superiore */
    right: 0;    /* Attaccato al bordo destro */
    background: #000; /* Sfondo nero */
    color: #fff;      /* Testo bianco */
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: #333; /* Grigio scuro al passaggio */
}

/* --- Resto dei tuoi stili originali --- */

.modal-content .subtitle {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    color: #888;
    margin-bottom: 15px;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.modal-content .divider {
    width: 40px;
    height: 1px;
    background: #1a1a1a;
    margin: 20px auto;
}

.modal-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Bottone di chiusura */
.submit-button-elite {
    width: 100%;
    background-color: #000; /* Nero assoluto */
    color: #fff; /* Testo bianco */
    padding: 22px;
    border: 1px solid #000;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 6px; /* Look luxury */
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.8s ease !important;
    margin-top: 30px;
    border-radius: 0 ; /* Forza gli angoli vivi */
    display: block;
   
}

/* Effetto al passaggio del mouse (Hover) */
.submit-button-elite:hover {
    background-color: transparent; /* Diventa vuoto */
    color: #000000; /* Testo diventa nero */
    letter-spacing: 8px; /* Si espande leggermente */
    box-shadow: 0 15px 30px rgba(0,0,0,0.05); /* Ombra leggerissima */
}



/* Animazione */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.submit-button-elite:hover { background: #ffffff; }

.iti {
    display: block !important; /* Assicura che si comporti come gli altri div */
    width: 100% !important;
}

@media (max-width: 768px) {
    .form-row { flex-direction: column; }
    .form-container-elite { padding: 30px 20px; }
}
/* Fine yor ideas */

/* area riservata */


.id-input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem !important;
}


/* Assicurati che nel CSS ci sia questo: */
#orderForm {
    display: none; /* Di base è nascosto */
    opacity: 0;    /* Di base è trasparente */
}

.reveal-form {
    display: block !important;
    opacity: 1 !important; /* Forza l'opacità a 1 */
    visibility: visible !important;
    animation: eliteReveal 1s ease forwards;
}

@keyframes eliteReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Overlay e Centratura */
.modal-overlay {
    display: none; 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center; /* Centra verticale */
    justify-content: center; /* Centra orizzontale */
    backdrop-filter: blur(5px);
}

/* Contenitore Bianco */
.modal-content {
    background: #fff;
    padding: 60px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh; /* Altezza massima per non uscire dallo schermo */
    overflow-y: auto; /* Scroll interno se il form è lungo */
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Pulsante Close Nero/Bianco richiesto */
.close-modal {
    position: absolute;
    top: 0;
    right: 0;
    background: #000;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.close-modal:hover { background: #333; }

/* Stile Campi Form (Sottili e Minimali) */
.styled-form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    padding: 12px 0;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    outline: none;
}

.form-row { display: flex; gap: 20px; }

/* Avvisi del documento [cite: 45, 55] */
.warning-box {
    background: #f9f9f9;
    padding: 20px;
    font-size: 12px;
    text-align: left;
    border-left: 2px solid #000;
    margin: 20px 0;
}

#container-form-marmo form input,
#container-form-marmo form button {
    width: 100%;
}



/* Lo stile del modulo */
.form-container-elite {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    background: #121212;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Campi del form */
input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #333;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

/* Stile quando il campo è in focus */
input:focus, select:focus, textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Etichette del form */
label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #bbb;
    text-transform: uppercase;
}

/* Pulsante di invio */
button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #000000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover del pulsante */
button[type="submit"]:hover {
    background-color: #919191;
}

/* Sezione radio */
.radio-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.radio-group label {
    font-size: 14px;
    color: #bbb;
    cursor: pointer;
}





/* Modal errore */
#errorModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#errorModal .modal-content {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    color: #333;
}

#errorModal button {
    background: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#errorModal button:hover {
    background: #c0392b;
}

/* Contenitore principale: centra il quadrato nello schermo */
#id-verification-box {
    all: unset; /* Ignora tutto il resto */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    width: 100vw !important;
    background: #000 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* Il Quadrato */
.verification-square {
    width: 450px !important;
    height: 450px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centra orizzontalmente i figli */
    justify-content: center !important; /* Centra verticalmente i figli */
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* L'input: rimosso ogni stile precedente */
.id-input-clean {
    all: unset !important; /* Cancella bordi, ombre e padding di sistema */
    width: 250px !important; /* Lunghezza della linea */
    height: 40px !important;
    border-bottom: 1px solid #ffffff !important; /* La linea bianca */
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 20px !important;
    text-align: center !important; /* Centra il testo dentro l'input */
    letter-spacing: 5px !important;
    margin: 40px 0 !important; /* Spazio tra titolo e bottone */
    display: block !important;
    box-sizing: border-box !important;
}

/* Per evitare che il placeholder sposti la linea */
.id-input-clean::placeholder {
    color: rgba(255,255,255,0.3) !important;
    text-align: center !important;
}
 
/* Questa classe servirà per far sparire il quadrato con un effetto fluido */
.hidden-verification {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Questa classe forza la scomparsa totale di qualsiasi elemento */
.hide-box-force {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}



/* Stile Link di chiusura */
.close-project-x {
    position: fixed;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    text-decoration: none;
    z-index: 10010;
    font-weight: 200;
}

/* Selettori a Box */
.country-selector, .profile-selector {
    display: flex;
    border: 1px solid #000; /* Bordo nero esterno totale */
    margin: 20px 0 40px 0;
    background: #fff;
    padding: 0;
}
.country-box, .profile-box {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    color: #000;
    transition: 0.3s;
    border-right: 1px solid #000; /* Linea divisoria nera */
    text-transform: uppercase;
}

/* Colore al click (Active) */
.profile-box.active, .country-box.active {
    background: #000;
    color: #fff;
}

/* Riassunto finale */
.form-summary {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-left: 2px solid #fff;
    font-size: 12px;
    line-height: 1.6;
    color: #888;
}


.iti { width: 100%; }
.iti__active { background: #222; }

/* Intestazione Marmo Elite */
.elite-header-main {
    text-align: center;
    margin-bottom: 50px;
}

.elite-header-main h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    letter-spacing: 15px;
    color: #000000;
    margin: 0;
    font-weight: 200;
}

.header-divider {
    width: 60px;
    height: 1px;
    background: #fff;
    margin: 20px auto;
    opacity: 0.3;
}

.doc-title {
    font-size: 18px;
    letter-spacing: 4px;
    text-align: center;
    color: #565656;
    margin-bottom: 60px;
    text-transform: uppercase;
}
/* Sezioni del Form */
.form-section {
    margin-bottom: 40px;
}

.section-label {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Select personalizzata */
.elite-select {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #d1d1d1; /* Linea coerente con gli altri campi */
    color: #000;
    font-size: 14px;
    padding: 15px 30px 10px 0; /* Spazio a destra per la freccia */
    font-family: 'Raleway', sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none; /* Rimuove lo stile di default del sistema */
    -webkit-appearance: none;
    /* Freccia Minimalista Nera */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

/* Miglioramento Input */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Due colonne */
    gap: 0 30px; /* Spazio tra colonne */
}


.input-group.full, 
.section-label, 
#fields-professional, 
.form-section {
    grid-column: span 2;
}

.input-group label {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent;
    font-size: 16px;
    color: #000;
    padding: 5px 0;
}
.input-group input:focus {
    border-bottom: 1px solid #fff;
    outline: none;
}
/* Gruppi di input (Solo linea sotto) */
.input-group {
    border-bottom: 1px solid #d1d1d1;
    margin-bottom: 40px;
    transition: border-color 0.3s;
}

.input-group:focus-within {
    border-bottom: 1px solid #000;
}

#id-verification-box {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#id-verification-box.hidden {
    opacity: 0;
    pointer-events: none;
}


/* ==========================================
   SISTEMA DI ACCESSO E MODULO FINALE
   ========================================== */

/* 1. IL LOADER (Nero, copre tutto lo schermo) */
#elite-loader {
    display: none; /* Attivato via JS */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
    z-index: 9999999 !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-track {
    width: 250px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

#loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ffffff;
    /* La transizione fluida del caricamento */
    transition: width 2.8s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 2. IL MODULO CLIENTE (Bianco, appare dopo il caricamento) */
#container-form-marmo {
    display: none; /* Nasconde di base */
    background-color: #e5e5e5; /* Grigio cemento chiaro/tavolo */
    min-height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 60px 0;
    font-family: 'Raleway', sans-serif;
}

/* Classe attivata via JS per mostrare il modulo */
#container-form-marmo.show-form {
    display: block !important;
}

#container-form-marmo .form-container-elite {
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 100px;
    /* Angoli vivi, nessuna curvatura */
    border-radius: 0 !important; 
    /* Ombra netta ma leggerissima per profondità */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* 3. SELETTORI (Country e Profile) */
.country-selector, .profile-selector {
    display: flex;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
    background: #ffffff;
}

.country-box, .profile-box {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    color: #000000;
    transition: 0.3s;
    border-right: 1px solid #e0e0e0;
    text-transform: uppercase;
}

.country-box:last-child, .profile-box:last-child {
    border-right: none;
}

/* Stato attivo dei selettori (Nero con testo bianco) */
.country-box.active, .profile-box.active {
    background: #000 !important;
    color: #fff !important;
}

.field-error-force {
    border: 2px solid #ff0000 !important;
    background-color: #fff0f0 !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5) !important;
    outline: none !important;
}

/* Correzione per i testi del modulo su fondo bianco */
#container-form-marmo .section-label, 
#container-form-marmo h3, 
#container-form-marmo label {
    color: #000 !important;
    font-family: 'Raleway', sans-serif;
}

/* Rende il contenitore della bandiera trasparente e ben allineato */
.iti { 
    width: 100% !important; 
    display: block !important; 
    margin-top: 0 !important; /* Deve essere zero per non sdoppiare lo spazio */
}

.iti__flag-container {
    padding-top: 5px !important; /* Allinea la bandiera al centro della casella */
    height: 100% !important;
}
/* Toglie la linea del contenitore solo per il telefono così resta solo quella dell'input */
.input-group:has(#phone), .input-group:has(#phone_res) {
    border-bottom: none !important;
}

.iti__selected-dial-code {
    color:#616161 !important; 
}
/* Classe forzata per l'errore */
.border-error {
    border: 2px solid #ff0000 !important;
    border-radius: 4px;
}

.iti { width: 100% !important; display: block !important; }
/* Rimuove lo sfondo grigio al passaggio del mouse sulla bandierina */
.iti__selected-flag:hover {
    background-color: transparent !important;
}

/* Sistema l'input del telefono: aumenta il padding per non sovrapporsi al prefisso */
#phone, input#phone, 
#phone_res, input#phone_res {
    /* Reset dei bordi per eliminare la doppia linea */
    border: none !important;
    border-bottom: 1px solid #000 !important; /* Forza una sola linea nera come gli altri */
    
    /* Sistema la posizione del testo */
    height: 40px !important;       /* Altezza standard */
    padding-top: 0 !important;     /* Reset del padding che tagliava il testo */
    padding-bottom: 5px !important;
    padding-left: 85px !important; /* Spazio per la bandiera */
    
    margin: 0 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
}
.input-group label {
    margin-bottom: 5px;
    display: block;
}
/* Rende la lista dei paesi elegante (Bianca con bordo nero) */
.iti__country-list {
    background-color: #000000 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05); /* Effetto ombra minimalista */
    max-width: 300px;
}

#business-fields {
    display: none;
}
#business-fields.is-visible {
    display: block !important;
}
/* Contenitore della checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 25px; /* spazio per la custom checkbox */
    cursor: pointer;
    font-size: 12px;
    color: #000; /* testo visibile */
    user-select: none;
}

/* Checkbox reale nascosta */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Elemento custom della spunta */
.checkbox-container .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #fff; /* bianca sul nero scuro */
    border: 1px solid #000;
}

/* Quando la checkbox è selezionata */
.checkbox-container input:checked ~ .checkmark {
    background-color: #ffffff; /* spunta nera */
    border: 1px solid #000;
}

/* Spunta interna */
.checkbox-container .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Mostra la spunta */
.checkbox-container input:checked ~ .checkmark::after {
    display: block;
    left: 4px;
    top: 0px;
    width: 4px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-container a {
    position: relative;
    z-index: 5;
    pointer-events: auto; /* Permette il click sul link */
}

/* Trucco extra: se la label crea problemi, isoliamo il testo */
.checkbox-container {
    pointer-events: none; /* Disattiva la label come area cliccabile */
}

.checkbox-container .checkmark, 
.checkbox-container a {
    pointer-events: auto; /* Riattiva il click solo sul quadratino e sul link */
}

#btn-submit {
    display: block !important;
    width: 100% !important;
    margin-top: 50px !important;
    clear: both !important;
    float: none !important;
}

.form-grid #btn-submit, 
.form-grid .form-summary {
    grid-column: span 2 !important;
}

/* --- CREATIONS PAGE STYLES --- */
.creations-page {
    background-color: #000;
    color: #fff;
}

.creations-hero {
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), #000), url('images/hero-creations.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(50px, 8vw, 90px);
    letter-spacing: 15px;
    font-weight: 200;
    margin: 20px 0;
    text-transform: uppercase;
}

.hero-description {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Griglia Gallery */
.creations-gallery {
    padding: 0 20px 100px 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #111;
    transition: all 0.5s ease;
}

/* Formati Irregolari */
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Info Overlay */
.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.work-type {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    border-left: 1px solid #fff;
    padding-left: 10px;
    display: block;
    margin-bottom: 10px;
}

.item-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1px;
}

.gallery-video {
    position: absolute; /* Fondamentale per stare sotto l'overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Si comporta come un'immagine */
    z-index: 1; /* Sta sotto il testo */
}

/* Assicurati che l'overlay stia SOPRA il video */
.item-overlay {
    z-index: 2;
}

/* Se vuoi che il video sia in bianco e nero come le foto */

/* Item con la Citazione */
.quote-item {
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.quote-content p {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quote-content .signature {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-container { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 600px) {
    .gallery-container { grid-template-columns: 1fr; }
    .gallery-item.tall { grid-row: span 1; }
}
/* Aggiungi questo al tuo CSS per mettere i campi del responsabile su due righe da due */
.responsabile-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.responsabile-row .input-group {
    flex: 1;
}

@media (max-width: 600px) {
    .responsabile-row {
        flex-direction: column;
    }
}


/* Journal Page Specific Styles */
.journal-page {
    background-color: #fff;
    color: #111;
}

.journal-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/cava-creation.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.journal-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 8vw, 80px);
    letter-spacing: 5px;
    margin: 20px 0;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: #fff;
    margin: 20px auto;
}

.journal-content {
    max-width: 1200px;
    margin: -80px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-box {
    background: #fff;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-top: 1px solid #eee;
    transition: transform 0.3s ease;
}

.benefit-box:hover {
    transform: translateY(-10px);
}

.benefit-box.highlight {
    background: #111;
    color: #fff;
    border-top: 1px solid #111;
}

.benefit-box .num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.benefit-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-box p {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;
}

.journal-cta {
    margin-top: 100px;
    font-size: 24px;
    text-align: center;
    color:#919191
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #333;
    letter-spacing: 3px;
}
/* FAQ KITCHEN - DESKTOP */
.faq-section-kitchen {
    padding: 100px 10%;
    background: #f9f9f9;
}

.faq-container-kitchen {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section-kitchen h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
}

.faq-grid-kitchen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.faq-item-kitchen {
    padding: 30px;
    border-left: 2px solid #000;
}

.faq-question-kitchen {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.faq-answer-kitchen p {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
}
@media (max-width: 768px) {
    .journal-hero { height: 50vh; }
    .journal-content { margin-top: 40px; }
}

.footer-grid h4 { font-size: 12px; letter-spacing: 4px; margin-bottom: 30px; color: #666; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 15px; }
.footer-links ul li a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 300; }
.footer-bottom { border-top: 1px solid #222; padding-top: 40px; text-align: center; font-size: 11px; color: #555; letter-spacing: 2px; }
.footer-mobile {
    display: none !important;
}
/* ========================================
   MEDIA QUERY MOBILE LUXURY - INDEX
   VERSIONE CORRETTA DOPO VIDEO
   ======================================== */

@media screen and (max-width: 768px) {
    
    /* === FIX Z-INDEX GENERALE === */
     /* VIDEO FISSO */
    .background-video {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 0 !important; /* Cambiato da -1 a 0 */
    }
    
    /* HERO CON TESTI SOPRA IL VIDEO */
    .snap-section.hero {
        position: relative !important;
        height: 100vh !important;
        z-index: 1 !important;
    }
    
    .marmo-elite,
    .testo-intro {
        position: absolute !important;
        z-index: 5 !important;
    }
    
    /* SEZIONI DOPO LA HERO - COPRONO IL VIDEO */
    .catalog-container,
    .curated-materials,
    .atelier-section,
    .elite-journal-section,
    .main-footer {
        position: relative !important;
        z-index: 10 !important;
        background: #f7f7f7 !important;
        width: 100% !important;
    }
    
    /* HEADER SOPRA TUTTO */
    .header {
        z-index: 99999 !important;
    }
    
    /* Assicura che non ci siano gap */
    body {
        margin: 0 !important;
        padding: 0 !important;
    }

/* Mantieni i colori originali delle sezioni */
.catalog-container {
    background-color: rgb(247, 247, 247) !important;
}

.curated-materials {
    background-color: rgb(247, 247, 247) !important;
}

.atelier-section {
    background-color: #000 !important;
}

.elite-journal-section {
    background-color:rgb(247, 247, 247)!important;
}

.main-footer {
    background-color: #000 !important;
}

    /* === RESET GENERALE === */
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        margin: 0;
        padding: 0;
    }

    /* === HEADER CON HAMBURGER === */
    .header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 20px 25px !important;
    z-index: 99999 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
     transform: none !important; /* ✅ AGGIUNGI QUESTA */
    transition: none !important; /* ✅ AGGIUNGI QUESTA */
}
/* === ANIMAZIONE HERO ELEGANTE === */
.marmo-elite {
    opacity: 0;
    transform: translate(-50%, -40%) !important;
    animation: heroFadeUp 1.8s cubic-bezier(0.19, 1, 0.22, 1) 0.3s forwards;
}

.testo-intro {
    opacity: 0;
    transform: translateX(-50%) translateY(20px) !important;
    animation: heroFadeUp 1.8s cubic-bezier(0.19, 1, 0.22, 1) 0.8s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Per il testo-intro (parte da più in basso) */
@keyframes heroFadeUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) !important;
    }
}
    .logo {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 35px !important;
        margin: 0 !important;
    }

    /* HAMBURGER BUTTON */
    .hamburger-btn {
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        width: 30px;
        height: 24px;
        cursor: pointer;
        padding: 0;
        z-index: 100001;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background: #fff;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    /* ANIMAZIONE HAMBURGER -> X */
    .menu-open .hamburger-line:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-open .hamburger-line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* MENU NASCOSTO */
    .header ul {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #000 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
        transition: all 0.5s ease !important;
    }

    /* MENU APERTO */
    .header.menu-open ul {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .header ul li {
    list-style: none !important;
    margin-bottom: 30px !important;
    opacity: 0;
    transform: translateY(20px);
    animation: menuItemFadeIn 0.5s ease forwards;
}

.header ul li:nth-child(1) { animation-delay: 0.1s; }
.header ul li:nth-child(2) { animation-delay: 0.15s; }
.header ul li:nth-child(3) { animation-delay: 0.2s; }
.header ul li:nth-child(4) { animation-delay: 0.25s; }
.header ul li:nth-child(5) { animation-delay: 0.3s; }
.header ul li:nth-child(6) { animation-delay: 0.35s; }

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

.header ul li a {
    font-size: 26px !important;
    letter-spacing: 6px !important;
    font-weight: 300 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
}

.header ul li a:hover {
    letter-spacing: 8px !important;
    opacity: 0.6 !important;
}
/* === STILE CATEGORIE MENU === */
.menu-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    margin: 40px 0;
}

.menu-footer-section {
    margin-bottom: 40px;
}

.menu-category-title {
    font-size: 10px;
    letter-spacing: 3px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
}

.menu-category-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-category-links a {
    font-size: 14px !important;
    letter-spacing: 2px !important;
    color:#6c6c6c !important;
    text-decoration: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 300 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
}

.menu-category-links a:hover {
    color: #fff !important;
    letter-spacing: 3px !important;
}

.menu-highlight {
    color: #bfbebe !important;
    font-weight: 600 !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 10px !important;
}

.menu-legal-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.menu-legal-footer p {
    font-size: 8px;
    letter-spacing: 2px;
    color: #6c6c6c;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif;
}

.menu-legal-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 9px;
}

.menu-legal-links a {
    color: #6c6c6c !important;
    font-size: 9px !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    font-family: 'Raleway', sans-serif !important;
}

.menu-legal-links span {
    color: #333;
}
/* === MENU A 2 COLONNE === */
.header ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    padding: 100px 30px 80px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    align-items: start !important;
}

/* Divisore full-width (se lo tieni) */
.menu-divider {
    grid-column: span 2 !important;
}

/* Footer legale full-width */
.menu-legal-footer {
    grid-column: span 2 !important;
}

.menu-footer-section {
    margin-bottom: 35px !important;
}

.menu-category-title {
    font-size: 10px !important;
    letter-spacing: 3px !important;
    color: #fff !important;
    margin-bottom: 15px !important;
}

.menu-category-links a {
    font-size: 12px !important;
    color: #888 !important;
}
    /* === HERO SECTION === */
    .snap-section.hero {
        height: 100vh !important;
    }

    .marmo-elite {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        padding: 0 30px !important;
        text-align: center !important;
        font-size: 12vw !important;
        letter-spacing: 6px !important;
        z-index: 5 !important;
    }

    .testo-intro {
        position: absolute !important;
        top: 58% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        padding: 0 40px !important;
        text-align: center !important;
        font-size: 13px !important;
        letter-spacing: 1px !important;
        line-height: 1.6 !important;
        z-index: 5 !important;
    }

    /* === CATALOGO SHOWROOM === */
   /* === CATALOGO SHOWROOM === */
.catalog-container {
    padding: 80px 0 80px 0 !important;
    min-height: auto !important;
    background-color: rgb(247, 247, 247) !important;
}

/* Titolo verticale più visibile */
.vertical-title {
    width: 50px !important;
}

.vertical-title span {
    font-size: 21px !important; /* Più grande */
    letter-spacing: 8px !important;
    font-weight: 400 !important; /* Più pesante */
    opacity: 0.8 !important; /* Più scuro */
    padding-left: 10px !important;
    color: #000 !important;
}

/* Scroll */
.horizontal-scroll-wrapper {
    gap: 25px !important;
    padding: 0 20px 0 15px !important;
    scroll-behavior: smooth !important;
}

/* Foto grandi ma non troppo */
.product-item {
    flex: 0 0 80vw !important; /* Ridotto da 85 a 80 */
}

.image-box {
    height: 70vh !important; /* Ridotto da 75 a 70 */
    border-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

.image-box img {
    object-fit: cover !important;
}

/* Nome prodotto */
.side-description {
    padding: 25px 0 !important;
    justify-content: center !important;
    gap: 20px !important;
}

.plus {
    font-size: 20px !important;
    font-weight: 100 !important;
}

.text-content h2 {
    font-size: 11px !important;
    letter-spacing: 4px !important;
    font-weight: 400 !important;
    margin-top: 10px !important;
}

/* === FIX TABLET (769px - 1024px) === */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .vertical-title span {
        font-size: 29px !important; /* Più grande su tablet */
        letter-spacing: 10px !important;
    }
    
    .product-item {
        flex: 0 0 60vw !important; /* Foto più piccole su tablet */
    }
    
    .image-box {
        height: 60vh !important;
    }
}
    /* === CURATED MATERIALS === */
    .curated-materials {
        height: auto !important;
        padding: 80px 25px !important;
    }

    .material-container {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .material-image {
        width: 100% !important;
        height: 60vh !important;
        order: 2 !important;
    }

    .material-content {
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        order: 1 !important;
    }

    .subtitle {
        font-size: 9px !important;
        letter-spacing: 3px !important;
    }

    .material-content h2 {
        font-size: 28px !important;
        letter-spacing: 3px !important;
        margin-bottom: 25px !important;
    }

    .material-content p {
        font-size: 14px !important;
        line-height: 1.7 !important;
        padding: 0 10px !important;
    }

    .uniqueness-claim {
        font-size: 15px !important;
        margin-top: 30px !important;
    }

    /* === ATELIER SECTION === */
    .atelier-section {
        flex-direction: column !important;
        height: auto !important;
        padding: 80px 25px !important;
    }

    .atelier-image {
        width: 100% !important;
        height: 60vh !important;
        order: 2 !important;
    }

    .atelier-text {
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        order: 1 !important;
        margin-bottom: 40px !important;
    }

    .atelier-text h2 {
        font-size: 28px !important;
        letter-spacing: 4px !important;
    }

    .atelier-text p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .link-minimal {
        font-size: 11px !important;
        margin-top: 20px !important;
    }
/* === FIX DISCLAIMER HUMAN TOUCH === */
.safety-disclaimer {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    text-align: left !important;
    margin-top: 15px !important;
    padding-left: 0 !important;
}

.safety-disclaimer p {
    font-size: 9px !important;
    line-height: 1.5 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-left: 1px solid #ccc !important;
    padding-left: 12px !important;
}
    /* === ELITE JOURNAL === */
    .elite-journal-section {
        padding: 80px 25px !important;
    }

    .elite-journal-section h2 {
        font-size: 32px !important;
        letter-spacing: 4px !important;
    }

    .elite-journal-section p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .journal-form {
        width: 100% !important;
    }

    .input-group {
        margin-bottom: 30px !important;
    }

    .input-group input {
        font-size: 14px !important;
        padding: 12px 0 !important;
        text-align: center !important;
    }

    .btn-journal {
        width: 100% !important;
        padding: 16px 0 !important;
        border: 1px solid #000 !important;
        font-size: 11px !important;
        letter-spacing: 3px !important;
    }

    .main-footer:not(.footer-mobile) {
        display: none !important;
    }

    /* === MOSTRA FOOTER MOBILE === */
    .footer-mobile {
        display: block !important;
        background: #000 !important;
        padding: 60px 30px 40px !important;
        text-align: center !important;
    }

    .footer-minimal {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-logo-mobile {
        width: 100px;
        margin: 0 auto 20px;
        display: block;
        filter: brightness(0) invert(1);
    }

    .footer-tagline-mobile {
        font-size: 11px;
        letter-spacing: 1.5px;
        color: #888;
        font-style: italic;
        margin-bottom: 35px;
        line-height: 1.6;
    }

    .footer-contact-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .footer-link-mobile {
        color: #e2e2e2;
        text-decoration: none;
        font-size: 12px;
        letter-spacing: 1px;
        font-family: 'Raleway', sans-serif;
        transition: color 0.3s ease;
    }

    .footer-link-mobile:hover {
        color: #fff;
    }

    .footer-location-mobile {
        font-size: 11px;
        letter-spacing: 2px;
        color: #666;
        text-transform: uppercase;
        margin-top: 5px;
    }

    .social-icons-mobile {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 35px;
    }

    .social-icons-mobile a {
        color: #e2e2e2;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-icons-mobile a:hover {
        color: #fff;
        transform: scale(1.1);
    }

    .copyright-mobile {
        font-size: 9px;
        letter-spacing: 2px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .legal-links-mobile {
        display: flex;
        justify-content: center;
        gap: 12px;
        font-size: 9px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 25px;
    }

    .legal-links-mobile a {
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .legal-links-mobile a:hover {
        color: #fff;
    }

    .legal-links-mobile span {
        color: #333;
    }

    .designer-credit-mobile {
        font-size: 8px;
        letter-spacing: 1px;
        color: #444;
        text-transform: uppercase;
    }
}
/* ============================================
   CREATIONS PAGE MOBILE - MASONRY GALLERY
   AGGIUNGI AL TUO CSS MOBILE
   ============================================ */

/* ============================================
   CREATIONS PAGE MOBILE - UNA COLONNA LUXURY
   SOSTITUISCI IL CSS PRECEDENTE CON QUESTO
   ============================================ */

@media (max-width: 768px) {
    
    /* === HEADER ATELIER === */
    
    .header-atelier {
     position: absolute !important;
    background: transparent !important;       /* Come ourstory */
    backdrop-filter: none !important;
    padding: 0 !important;                    /* Rimuovi padding */
    z-index: 99999 !important;
    width: 100%;
    height: 60px;  
    }
    
.logo-atelier {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    width: 70px !important;
    height: 70px !important;
    padding: 0 !important;
    transform: none !important;
    overflow: hidden;
}

.logo-atelier img {
    height: 100% !important;
    width: 70px !important;
    transform: scale(3);
    mix-blend-mode: lighten;
}
    .nav-atelier {
        display: none !important;
    }
    
    /* === HERO CREATIONS DRAMMATICA === */
    /* === HERO DRAMMATICA E IMPATTANTE === */
.creations-hero {
    height: 80vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-end !important; /* Testo in basso */
    justify-content: flex-start !important; /* Testo a sinistra */
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    text-align: left !important;
}

/* Gradient solo in basso per leggere il testo */
.creations-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
    z-index: 1;
}

.hero-content {
    max-width: 100% !important;
    padding: 0 30px 50px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Linea decorativa sopra il titolo */
.hero-content::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px !important;
    letter-spacing: 8px !important;
    margin-bottom: 20px !important;
    line-height: 1.1 !important;
    font-weight: 200 !important;
    text-transform: uppercase !important;
}

.hero-description {
    font-size: 13px !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,0.9) !important;
    font-style: italic !important;
    font-weight: 300 !important;
    max-width: 85% !important;
    letter-spacing: 0.5px !important;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
    }
}
/* === FIX HERO CREATIONS SU TABLET === */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .creations-hero {
        min-height: 50vh !important;
        height: auto !important;
        padding: 100px 40px 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .creations-hero .hero-content {
        max-width: 85% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .creations-hero h1 {
        font-size: 52px !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important;
    }
    
    .creations-hero .hero-description {
        font-size: 16px !important;
        line-height: 1.8 !important;
        margin: 0 auto !important;
    }
}
@media (max-width: 768px) {
    
  
.creations-hero {
    height: 80vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-end !important; /* Testo in basso */
    justify-content: flex-start !important; /* Testo a sinistra */
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    text-align: left !important;
}

/* Gradient solo in basso per leggere il testo */
.creations-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
    z-index: 1;
}

.hero-content {
    max-width: 100% !important;
    padding: 0 30px 50px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Linea decorativa sopra il titolo */
.hero-content::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px !important;
    letter-spacing: 8px !important;
    margin-bottom: 20px !important;
    line-height: 1.1 !important;
    font-weight: 200 !important;
    text-transform: uppercase !important;
}

.hero-description {
    font-size: 13px !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,0.9) !important;
    font-style: italic !important;
    font-weight: 300 !important;
    max-width: 85% !important;
    letter-spacing: 0.5px !important;
}
    .header-atelier ul,
    .nav-atelier {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #000 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 30px !important;
        padding: 100px 30px 80px !important;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
        transition: all 0.5s ease !important;
    }
    
    /* Menu aperto per atelier */
    .header-atelier.menu-open ul,
    .header-atelier.menu-open .nav-atelier {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    /* === GALLERY UNA COLONNA VERTICALE === */
    .creations-gallery {
        padding: 0 !important;
        background: #000 !important;
    }
    
    .gallery-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Ogni item occupa tutto lo schermo */
    .gallery-item {
        width: 100% !important;
        height: 80vh !important;
        position: relative !important;
        overflow: hidden !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* Item tall (più alti) */
    .gallery-item.tall {
        height: 90vh !important;
    }
    
    /* Item wide (normali) */
    .gallery-item.wide {
        height: 80vh !important;
    }
    
    /* Immagini e video a colori */
    .gallery-item img,
    .gallery-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: grayscale(0%) !important;
    }
    
    /* Disabilita click */
    .gallery-item {
        pointer-events: none !important;
    }
    
    /* === OVERLAY ELEGANTE === */
    .item-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 80%) !important; /* Più scuro */
    padding: 30px !important;
}

.work-type {
    font-size: 9px !important;
    letter-spacing: 3px !important;
    margin-bottom: 10px !important;
    color: #ffffff !important; /* Bianco pieno */
    opacity: 1 !important; /* Piena visibilità */
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important; /* Ombra per leggibilità */
}

.item-overlay h3 {
    font-size: 18px !important;
    letter-spacing: 3px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
}
    /* === QUOTE ITEM === */
    .quote-item {
        height: 60vh !important;
        padding: 60px 30px !important;
        background: #0a0a0a !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .quote-content {
        text-align: center !important;
    }
    
    .quote-content p {
        font-size: 22px !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        font-style: italic !important;
    }
    
    .quote-content .signature {
        font-size: 10px !important;
        letter-spacing: 4px !important;
        opacity: 0.6 !important;
    }
    
    /* === SCROLL FLUIDO === */
    .creations-page {
        overflow-y: auto !important;
        scroll-behavior: smooth !important;
    }
    
    body, html {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}
    .header-atelier ul,
    .nav-atelier {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #000 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 30px !important;
        padding: 100px 30px 80px !important;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
        transition: all 0.5s ease !important;
    }
    
    /* Menu aperto per atelier */
    .header-atelier.menu-open ul,
    .header-atelier.menu-open .nav-atelier {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    /* === GALLERY UNA COLONNA VERTICALE === */
    .creations-gallery {
        padding: 0 !important;
        background: #000 !important;
    }
    
    .gallery-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Ogni item occupa tutto lo schermo */
    .gallery-item {
        width: 100% !important;
        height: 80vh !important;
        position: relative !important;
        overflow: hidden !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* Item tall (più alti) */
    .gallery-item.tall {
        height: 90vh !important;
    }
    
    /* Item wide (normali) */
    .gallery-item.wide {
        height: 80vh !important;
    }
    
    /* Immagini e video a colori */
    .gallery-item img,
    .gallery-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: grayscale(0%) !important;
    }
    
    /* Disabilita click */
    .gallery-item {
        pointer-events: none !important;
    }
    
    /* === OVERLAY ELEGANTE === */
    .item-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 80%) !important; /* Più scuro */
    padding: 30px !important;
}

.work-type {
    font-size: 9px !important;
    letter-spacing: 3px !important;
    margin-bottom: 10px !important;
    color: #ffffff !important; /* Bianco pieno */
    opacity: 1 !important; /* Piena visibilità */
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important; /* Ombra per leggibilità */
}

.item-overlay h3 {
    font-size: 18px !important;
    letter-spacing: 3px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
}
    /* === QUOTE ITEM === */
    .quote-item {
        height: 60vh !important;
        padding: 60px 30px !important;
        background: #0a0a0a !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .quote-content {
        text-align: center !important;
    }
    
    .quote-content p {
        font-size: 22px !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        font-style: italic !important;
    }
    
    .quote-content .signature {
        font-size: 10px !important;
        letter-spacing: 4px !important;
        opacity: 0.6 !important;
    }
    
    /* === SCROLL FLUIDO === */
    .creations-page {
        overflow-y: auto !important;
        scroll-behavior: smooth !important;
    }
    
    body, html {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}
