/* =========================================
   STILI ISOLATI - BESPOKE (INDEX E DETTAGLIO)
   ========================================= */

.text-dark { color: #1a1a1a; }
.text-gray { color: #555555; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-10{ margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }

.mt-30 { margin-top: 30px; }
.mt-60 { margin-top: 60px; }
.mt-80 { margin-top: 80px; }


/* -----------------------------------------
   LAYOUT GLOBALE E CONTENITORI
   ----------------------------------------- */
.bespoke-index-main {
    font-family: inherit;
    padding-top: 40px;
}
.bespoke-container {
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
}


/* -----------------------------------------
   SEZIONE HERO / INTESTAZIONE
   ----------------------------------------- */
.bespoke-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bespoke-page-title {
    text-transform: uppercase;
}
.bespoke-intro-text p{
    max-width: 800px;
    font-size: 2rem;
    font-weight: 300; !important;
    line-height: 1.6;
}
.bespoke-hero-image {
    width: 100%;
    height: 70vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #eaeaea;
}


/* -----------------------------------------
   SEZIONE GRIGLIA PROGETTI
   ----------------------------------------- */
.bespoke-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}


/* -----------------------------------------
   COMPONENTE CARD PROGETTO
   ----------------------------------------- */
.bespoke-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e0e0e0;
    overflow: hidden;
}
.bespoke-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.bespoke-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #5a5a5a;
    padding: 30px;
    width: 60%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.bespoke-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}
.bespoke-location {
    color: #d1d1d1;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}


/* -----------------------------------------
    BOTTONI
   ----------------------------------------- */
.bespoke-btn {
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 24px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.bespoke-btn:hover {
    background-color: #e6e6e6;
}


/* -----------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------- */
@media (max-width: 992px) {
    .text-giant { font-size: 4rem; }
}
@media (max-width: 768px) {
    .text-giant { font-size: 3rem; }
    .bespoke-projects-grid { grid-template-columns: 1fr; }
    .bespoke-card-content { width: 85%; padding: 20px; }
    .bespoke-hero-image { height: 40vh; min-height: 300px; }
}

/* -----------------------------------------
   CARD FEATURE COMPONENT
   ----------------------------------------- */

.bespoke-feature-grid {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 1250;
    margin: 0 auto;
}

.bespoke-feature-grid > div {
    position: absolute;
}

.feat-bg-main {
    top: 8%;
    left: 9%;
    width: 82%;
    height: 88%;
    z-index: 1;
    overflow: hidden;
}

.feat-bg-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.feat-img-top-left {
    top: 6%;
    left: 15%;
    width: 37%;
    height: 29%;
    z-index: 2;
}

.feat-text-box {
    top: 17%;
    left: 57%;
    width: 31%;
    z-index: 2;
    padding: 0;
}

.feat-img-mid-left {
    top: 37%;
    left: 2%;
    width: 50%;
    height: 35%;
    z-index: 3;
}

.feat-img-bottom-right {
    top: 54%;
    left: 57%;
    width: 40%;
    height: 32%;
    z-index: 3;
}

/* --- TIPOGRAFIA --- */

.feat-title {
    font-weight: 400;
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    line-height: 1.3;
    color: #2e2e2e;
    margin: 0 0 20px;
}

.feat-desc {
    font-weight: 400;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0 0 10px;
}

.feat-img-top-left img,
.feat-img-mid-left img,
.feat-img-bottom-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
    .bespoke-feature-grid {
        aspect-ratio: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .bespoke-feature-grid > div {
        position: static;
        width: 100%;
        height: auto;
    }

    .feat-bg-main {
        display: none;
    }

    .feat-img-top-left,
    .feat-img-mid-left,
    .feat-img-bottom-right {
        aspect-ratio: 4 / 3;
    }

    .feat-text-box {
        order: -1;
        padding: 0 16px;
    }
}

/* -----------------------------------------
   SEZIONE BOTTONE CTA (STANDALONE)
   ----------------------------------------- */

.bspk-cta-section {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

a.bspk-cta-btn {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #000000 !important;
    padding: 20px 50px !important;
    width: fit-content !important;
    max-width: 360px !important;
    min-width: 280px !important;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    transition: background-color 0.25s ease, transform 0.25s ease !important;
    border: none !important;
    outline: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

a.bspk-cta-btn:hover {
    background-color: #222222 !important;
    transform: translateY(-2px) !important;
}

.bspk-cta-sub {
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    display: block !important;
    opacity: 0.85;
    text-align: center !important;
}

.bspk-cta-main {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
}

@media (max-width: 600px) {
    a.bspk-cta-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 20px !important;
    }
}

/* -----------------------------------------
   BESPOKE PROJECTS GRID & FILTERS (MOCKUP)
   ----------------------------------------- */

.bspk-grid-main-title {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 300;
    color: #2e2e2e;
    letter-spacing: 0.5px;
}

.bspk-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    background-color: #f2f2f2;
    padding: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.bspk-filter-tab {
    flex: 1;
    text-align: center;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 400;
    color: #555555;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.bspk-filter-tab:hover,
.bspk-filter-tab.active {
    background-color: #e5e5e5;
    color: #000000;
    font-weight: 500;
}

.bspk-projects-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.bspk-project-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background-color: #333333;
}

.bspk-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.bspk-project-card:hover .bspk-card-bg {
    transform: scale(1.03);
}

/* BOX OVERLAY GRIGIO IN BASSO A SINISTRA (MOCKUP) */
.bspk-card-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: clamp(240px, 45%, 320px);
    background-color: rgba(65, 65, 65, 0.85);
    backdrop-filter: blur(8px);
    padding: 24px;
    z-index: 2;
    box-sizing: border-box;
}

.bspk-card-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 6px 0 !important;
}

.bspk-card-location {
    color: #dddddd !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 0 0 18px 0 !important;
}

.bspk-card-link {
    display: inline-block !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
}

.bspk-card-link:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

@media (max-width: 900px) {
    .bspk-projects-wall {
        grid-template-columns: 1fr;
    }

    .bspk-filter-bar {
        flex-wrap: wrap;
    }

    .bspk-filter-tab {
        flex: 1 1 45%;
    }

    .bspk-card-box {
        bottom: 16px;
        left: 16px;
        width: calc(100% - 32px);
    }
}

/* -----------------------------------------
   BESPOKE DETAIL HERO (LAYOUT MOCKUP)
   ----------------------------------------- */

.bspk-detail-hero-section {
    text-align: left !important;
    width: 100%;
}

.bspk-hero-top-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: start !important;
}

.bspk-hero-left-col {
    display: flex !important;
    flex-direction: column !important;
}

.bspk-detail-main-title {
    font-size: clamp(2.2rem, 3.5vw, 3.4rem) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    color: #111111 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
}

.bspk-meta-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.bspk-meta-item {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bspk-meta-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #888888 !important;
    white-space: normal !important;
}

.bspk-meta-val {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.35 !important;
}

.bspk-hero-right-col {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 10px !important;
}

.bspk-article-subtitle {
    font-size: clamp(1.15rem, 1.4vw, 1.35rem) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    margin: 0 0 30px 0 !important;
}

.bspk-detail-desc-text {
    font-size: clamp(0.95rem, 1.05vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #555555 !important;
}

.bspk-detail-desc-text p {
    margin-bottom: 18px !important;
}

.bspk-detail-hero-img-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 750px !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
    margin-top: 40px !important;
}

.bspk-detail-hero-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 900px) {
    .bspk-hero-top-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    .bspk-detail-hero-img-wrap {
        aspect-ratio: 4 / 3 !important;
    }

    .bspk-meta-item {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
        margin-bottom: 12px !important;
    }
}

/* -----------------------------------------
   BESPOKE QUOTE SECTION (CITAZIONE PROGETTISTA)
   ----------------------------------------- */

.bspk-quote-section {
    display: block !important;
    width: 100% !important;
    background-color: #ECEDEB !important;
    padding: 60px 0 !important;
}

.bspk-quote-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: stretch !important;
}

.bspk-quote-img-col {
    width: 100% !important;
    height: 100% !important;
}

.bspk-quote-img-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 380px !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
}

.bspk-quote-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: grayscale(100%) !important;
}

.bspk-quote-text-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 40px !important;
}

.bspk-quote-block {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bspk-quote-mark {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
    line-height: 1 !important;
    color: #bbbbbb !important;
    font-weight: 700 !important;
    display: block !important;
}

.bspk-quote-mark-open {
    text-align: left !important;
    margin-bottom: -10px !important;
}

.bspk-quote-mark-close {
    text-align: right !important;
    margin-top: -10px !important;
}

.bspk-quote-text {
    font-size: clamp(1.3rem, 2vw, 1.85rem) !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
    color: #2e2e2e !important;
    margin: 0 !important;
    padding: 0 10px !important;
}

.bspk-quote-author {
    font-size: 13px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #777777 !important;
    margin-top: 18px !important;
    padding: 0 10px !important;
    display: block !important;
    text-align: right !important;
}

@media (max-width: 900px) {
    .bspk-quote-section {
        padding: 40px 0 !important;
    }

    .bspk-quote-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bspk-quote-img-wrap {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
    }

    .bspk-quote-text-col {
        padding: 0 !important;
    }

    .bspk-quote-mark {
        font-size: 3rem !important;
    }

    .bspk-quote-author {
        text-align: left !important;
    }
}

/* -----------------------------------------
   BESPOKE DETAIL CHALLENGE (LAYOUT CORRETTO)
   ----------------------------------------- */

.bspk-challenge-section {
    text-align: left !important;
    width: 100%;
}

.bspk-challenge-grid {
    display: grid !important;
    grid-template-columns: 45% 1fr !important;
    gap: 70px !important;
    align-items: center !important;
}

.bspk-challenge-left-col {
    display: flex !important;
    flex-direction: column !important;
}

.bspk-section-tag {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: black !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    display: block !important;
}

.bspk-challenge-title {
    font-size: clamp(2rem, 3vw, 2.8rem) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    color: #111111 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 30px 0 !important;
}

.bspk-challenge-text {
    font-size: clamp(0.95rem, 1.05vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #444444 !important;
}

.bspk-challenge-text p {
    margin-bottom: 18px !important;
}

.bspk-challenge-text p:last-child {
    margin-bottom: 0 !important;
}

.bspk-challenge-right-col {
    width: 100% !important;
}

.bspk-challenge-img-wrap {
    width: 100% !important;
    overflow: hidden !important;
}

.bspk-challenge-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 900px) {
    .bspk-challenge-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .bspk-challenge-img-wrap {
        aspect-ratio: 4 / 3 !important;
    }
}

/* -----------------------------------------
   BESPOKE SFIDA SECTION
   ----------------------------------------- */

.bspk-sfida-section {
    width: 100% !important;
}

/* --- IMMAGINE FULL WIDTH --- */
.bspk-sfida-full-img-wrap {
    width: 100% !important;
    height: clamp(400px, 65vh, 650px) !important;
    overflow: hidden !important;
    background-color: #e8e8e8 !important;
}

.bspk-sfida-full-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bspk-sfida-bottom-grid {
    display: grid !important;
    grid-template-columns: 380px 1fr !important;
    gap: 70px !important;
    align-items: center !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.bspk-sfida-img-wrap {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
}

.bspk-sfida-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bspk-sfida-text-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.bspk-sfida-quote-block {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bspk-sfida-text {
    font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 900px) {
    .bspk-sfida-full-img-wrap {
        height: clamp(280px, 45vh, 420px) !important;
    }

    .bspk-sfida-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bspk-sfida-img-wrap {
        max-width: 340px !important;
        aspect-ratio: 4 / 5 !important;
    }
}

/* -----------------------------------------
   BESPOKE DETAIL SOLUTIONS SECTION (LAYOUT SCACCHIERA)
   ----------------------------------------- */

.bspk-solutions-section {
    background-color: #F2EEEC !important;
    width: 100% !important;
    padding: 100px 0 !important;
    text-align: left !important;
}

.bspk-solutions-header {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.bspk-section-tag {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    display: block !important;
}

.bspk-solutions-title {
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    color: #111111 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bspk-solutions-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 50px !important;
}

.bspk-solution-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

.bspk-solution-row.is-reversed {
    flex-direction: row-reverse !important;
}

.bspk-solution-img-col,
.bspk-solution-text-col {
    width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.bspk-solution-img-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    background-color: #e2dedc !important;
    overflow: hidden !important;
}

.bspk-solution-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bspk-solution-text {
    font-size: clamp(0.95rem, 1.05vw, 1.1rem) !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: #333333 !important;
    padding: 60px 8% !important;
}

.bspk-solution-text p {
    margin-bottom: 18px !important;
}

.bspk-solution-text p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .bspk-solutions-section {
        padding: 60px 0 !important;
    }

    .bspk-solutions-list {
        gap: 40px !important;
    }

    .bspk-solution-row,
    .bspk-solution-row.is-reversed {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .bspk-solution-img-col,
    .bspk-solution-text-col {
        width: 100% !important;
    }

    .bspk-solution-img-wrap {
        min-height: 300px !important;
    }

    .bspk-solution-text {
        padding: 40px 0 !important;
    }
}

/* -----------------------------------------
   BESPOKE RESULT SECTION (IL RISULTATO)
   ----------------------------------------- */

.bspk-result-section {
    width: 100% !important;
}

.bspk-result-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.25fr !important;
    gap: 60px !important;
    align-items: center !important;
}

/* --- COLONNA TESTO --- */
.bspk-result-left-col {
    display: flex !important;
    flex-direction: column !important;
}

.bspk-result-tag {
    display: block !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #2e2e2e !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.bspk-result-title {
    font-size: clamp(2rem, 3vw, 2.8rem) !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
    color: #2e2e2e !important;
    margin-top: 0 !important;
}

.bspk-result-text {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #555555 !important;
}

.bspk-result-text p {
    margin: 0 0 12px 0 !important;
}

.bspk-result-img-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
}

.bspk-result-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 900px) {
    .bspk-result-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bspk-result-img-wrap {
        aspect-ratio: 4 / 3 !important;
    }
}

/* -----------------------------------------
   BESPOKE RESULT SECTION 2 (IMG FULL + IMG/CITAZIONE)
   ----------------------------------------- */

.bspk-result2-section {
    width: 100% !important;
}

.bspk-result2-full-img-wrap {
    width: 100% !important;
    height: 65vh !important;
    overflow: hidden !important;
    background-color: #e8e8e8 !important;
}

.bspk-result2-full-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bspk-result2-bottom-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 70px !important;
    align-items: stretch !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.bspk-result2-img-col {
    width: 100% !important;
    height: 100% !important;
}

.bspk-result2-img-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 480px !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
}

.bspk-result2-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bspk-result2-text-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 20px !important;
}

.bspk-result2-quote-block {
    position: relative !important;
    max-width: 480px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bspk-result2-text {
    font-size: clamp(1.1rem, 1.6vw, 1.5rem) !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    color: #2e2e2e !important;
    margin: 0 !important;
    padding: 0 10px !important;
}

@media (max-width: 900px) {
    .bspk-result2-full-img-wrap {
        height: clamp(280px, 45vh, 420px) !important;
    }

    .bspk-result2-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bspk-result2-img-wrap {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 5 !important;
    }

    .bspk-result2-text-col {
        padding: 0 !important;
    }
}
/* -----------------------------------------
   BESPOKE DETAIL GALLERY CAROUSEL (UPDATED)
   ----------------------------------------- */

.bspk-gallery-section {
    width: 100% !important;
    text-align: left !important;
}

.bspk-gallery-header {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.bspk-gallery-slider-wrap {
    width: 100% !important;
    overflow: hidden !important;
}

.bspk-gallery-track {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding-bottom: 5px !important;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;  /* Firefox */
}

.bspk-gallery-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.bspk-gallery-slide {
    flex: 0 0 calc(65% - 12px) !important;
    scroll-snap-align: start !important;
}

.bspk-slide-img-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    background-color: #f4f4f4 !important;
    overflow: hidden !important;
}

.bspk-slide-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bspk-gallery-bottom-bar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 15px !important;
}
.bspk-gallery-controls-inline {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
}

.bspk-gallery-counter {
    font-size: 15px !important;
    font-weight: 300 !important;
    color: #717171 !important;
    letter-spacing: 2px !important;
    font-variant-numeric: tabular-nums !important;
}

.bspk-gallery-arrows {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}
/* Freccia minimale SVG */
.bspk-arrow-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #717171 !important;
    cursor: pointer !important;
    padding: 10px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.25s ease, color 0.25s ease !important;
}

.bspk-arrow-btn:hover {
    color: #111111 !important;
}

.bspk-arrow-btn svg {
    display: block !important;
}

@media (max-width: 900px) {
    .bspk-gallery-slide {
        flex: 0 0 calc(85% - 12px) !important;
    }

    .bspk-slide-img-wrap {
        aspect-ratio: 4 / 3 !important;
    }
}

/* -----------------------------------------
   BESPOKE PRODUCTS SECTION (SISTEMI ILLUMINANTI)
   ----------------------------------------- */

.bspk-products-tag {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #2e2e2e !important;
}

.bspk-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 300px)) !important;
    justify-content: center !important;
    gap: 20px !important;
}

.bspk-products-section .single_family_card {
    border: 1px solid #e0e0e0 !important;
    box-sizing: border-box !important;
}

/* -----------------------------------------
   BESPOKE CTA BLOCK (HAI UN PROGETTO SIMILE?)
   ----------------------------------------- */

.bspk-cta-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
    font-weight: 300 !important;
    color: #2e2e2e !important;
    margin-top: 0 !important;
}

.bspk-cta-text {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #555555 !important;
}

@media (max-width: 900px) {
    .bspk-products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* -----------------------------------------
   BESPOKE PRODUCTS SECTION (SISTEMI ILLUMINANTI)
   ----------------------------------------- */

.bspk-products-tag {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #2e2e2e !important;
}

.bspk-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 300px)) !important;
    justify-content: center !important;
    gap: 20px !important;
}

/* -----------------------------------------
   BESPOKE CTA BLOCK (HAI UN PROGETTO SIMILE?)
   ----------------------------------------- */

.bspk-cta-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
    font-weight: 300 !important;
    color: #2e2e2e !important;
    margin-top: 0 !important;
}

.bspk-cta-text {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #555555 !important;
}

@media (max-width: 900px) {
    .bspk-products-grid {
        grid-template-columns: 1fr !important;
    }
}
/* -----------------------------------------
   BESPOKE LATEST PROJECT SECTION (INDEX)
   ----------------------------------------- */

.bspk-latest-project-section {
    width: 100% !important;
    text-align: left !important;
}

.bspk-latest-grid {
    display: grid !important;
    grid-template-columns: 60% 1fr !important;
    gap: 60px !important;
    align-items: stretch !important;
}

.bspk-latest-img-col {
    display: flex !important;
    height: 100% !important;
}

.bspk-latest-img-wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    overflow: hidden !important;
    background-color: #f4f4f4 !important;
}

.bspk-latest-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.bspk-latest-img-wrap:hover img {
    transform: scale(1.04) !important;
}

.bspk-latest-text-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 0 20px 0 0 !important;
}

.bspk-latest-subtitle {
    font-size: clamp(1.1rem, 1.3vw, 1.25rem) !important;
    font-weight: 300 !important;
    color: #555555 !important;
    display: block !important;
}

.bspk-latest-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    color: #111111 !important;
    letter-spacing: -0.5px !important;
    margin-top: 0 !important;
}

.bspk-latest-sottotitolo {
    font-size: clamp(1.05rem, 1.15vw, 1.15rem) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #333333 !important;
}

.bspk-latest-desc {
    font-size: clamp(0.95rem, 1.05vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #444444 !important;
}

.bspk-latest-desc p {
    margin-bottom: 0 !important;
}

.bspk-latest-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.bspk-latest-meta .meta-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #888888 !important;
}

.bspk-latest-meta .meta-val {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333333 !important;
}

.bspk-outline-btn {
    display: inline-block !important;
    align-self: flex-start !important;
    padding: 14px 28px !important;
    border: 1px solid #111111 !important;
    background-color: transparent !important;
    color: #111111 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

.bspk-outline-btn:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}

@media (max-width: 900px)  {
    .bspk-latest-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bspk-latest-img-wrap {
        aspect-ratio: 4 / 3 !important;
    }

    .bspk-latest-text-col {
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }
}
