h1{
    font-size:2.5rem;
}
@media(min-width:1002px){
    .chiSiamoLeft{
        width:60%;
    }
}

.hero{
    width:100%;
    height:calc(100vh - 66px);
    position:relative;
    margin-top:66px;
}
.hero .bgFoto{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:var(--first-color);
}
.hero .text{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:calc(100vh - 66px);
    padding:0.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    color:var(--sixth-color);
}
.hero .bgFoto img{
    width:100%;
    height:calc(100vh - 66px);
    object-fit:cover;
    animation:fade 300ms infinite;
    opacity:0;
    position:absolute;
    top:0;
    left:0;
    -webkit-transition:opacity 2s linear;
    -moz-transition:opacity 2s linear;
    -o-transition:opacity 2s linear;
    transition:opacity 2s linear;
    text-indent:100%;
    white-space:nowrap;
    overflow:hidden;
}
.hero .bgFoto img.active{
    opacity:1;
}
#listaSlide{
    width:100%;
    height:100%;
    position:relative;
}

.hero-chip{
    display:inline-block;
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:100px;
    padding:6px 16px;
    font-size:0.78rem;
    text-transform:uppercase;
    letter-spacing:0.08em;
    color:var(--sixth-color);
    margin-bottom:20px;
}

.hero-cta-group{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
    margin-top:24px;
}

.hero-scroll-indicator{
    position:absolute;
    bottom:32px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    color:rgba(255,255,255,0.5);
    font-size:0.75rem;
}
.hero-scroll-indicator i{
    animation:bounce 1.5s ease-in-out infinite;
}

@keyframes bounce{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(5px); }
}

.descBig{
    font-size:3rem;
    font-weight:800;
    line-height:1.08;
    letter-spacing:-0.02em;
    text-align:center;
}
#testoIngresso{
    font-size:1rem;
    line-height:1.7;
    max-width:580px;
    opacity:0.85;
    text-align:center;
    margin-top:8px;
}
.btnScopri{
    font-size:1.5rem;
    padding-left:3%;
    padding-right:3%;
    min-width:300px;
    max-width:100%;
    border:none;
    color:#f0f0f0;
    background-color:var(--first-color);
    transition:all 200ms linear;
}
.btnScopri:hover{
    background:var(--second-color);
}
#testoIngresso{
    text-align:center;
}

/* =============================================
   CATEGORIES / CHI SIAMO
   ============================================= */
.descProdotti{
    border-radius:25px;
}
.descProdotti h2{
    font-size:1.5rem;
    font-weight:700;
    line-height:1.2;
    margin-bottom:6px;
}
.descProdotti .prod-sub{
    font-size:0.9rem;
    line-height:1.65;
    margin-bottom:20px;
}
#contCategorie{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    gap:20px;
    align-items:stretch;
    justify-content:center;
}
#contCategorie a{
    text-decoration:none;
    color:var(--bs-body-color);
    flex:1;
    flex-basis:16rem;
    z-index:0;
}
.categoria{
    position:relative;
    overflow:hidden;
    height:18rem;
    border-radius:var(--bs-border-radius);
    transition:transform 0.3s ease;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--first-color);
}
.categoria .bodyCategoria{
    position:relative;
    z-index:3;
    padding:1.5rem;
    color:white;
    text-align:center;
}
.categoria .bodyCategoria h2{
    margin:0;
    font-size:1.75rem;
    font-weight:700;
    text-shadow:0 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.3);
}
#contCategorie a:hover .categoria{
    transform:scale(1.05);
}
#contCategorie a:hover .categoria .overlay{
    background:rgba(14,30,55,0.7);
    backdrop-filter:blur(4px);
}
#contCategorie a:hover{
    z-index:3;
}
.categoria img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}
.categoria .overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.3);
    backdrop-filter:blur(1px);
    -webkit-backdrop-filter:blur(1px);
    z-index:2;
    transition:all 0.4s ease;
}
.chiSiamo img{
    max-width:350px;
    height:auto;
}

.brands-bar{
    background:var(--second-color);
    padding:28px 0;
}
.brands-title{
    text-align:center;
    font-size:0.7rem;
    text-transform:uppercase;
    letter-spacing:0.12em;
    color:var(--fourth-color);
    margin-bottom:20px;
}
.brands-grid{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:40px;
    border-top:1px solid rgba(255,255,255,0.06);
    border-bottom:1px solid rgba(255,255,255,0.06);
    padding:16px 0;
}
.brand-item{
    display:flex;
    align-items:center;
    justify-content:center;
}
.brand-logo{
    height:36px;
    width:auto;
    max-width:140px;
    object-fit:contain;
}
.brand-logo-on-light{ display:none; }
.brand-logo-on-dark{ display:block; }
[data-bs-theme="light"] .brand-logo-on-light{ display:block; }
[data-bs-theme="light"] .brand-logo-on-dark{ display:none; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar{
    background:var(--first-color);
    padding:36px 0;
}
.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
}
.stat-item{
    padding:28px 24px;
    text-align:center;
    border-right:1px solid rgba(255,255,255,0.07);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:2px;
}
.stat-item:last-child{
    border-right:none;
}
.stat-icon{
    width:36px;
    height:36px;
    border-radius:10px;
    background:rgba(255,255,255,0.07);
    display:grid;
    place-items:center;
    font-size:0.95rem;
    color:var(--accent);
    margin-bottom:12px;
    flex-shrink:0;
}
.stat-number{
    font-size:2.4rem;
    font-weight:800;
    color:var(--sixth-color);
    line-height:1;
    letter-spacing:-0.02em;
}
.stat-label{
    font-size:0.8rem;
    color:var(--sixth-color);
    font-weight:600;
    margin-top:6px;
}
.stat-sub{
    font-size:0.72rem;
    color:var(--fourth-color);
    margin-top:2px;
}

/* =============================================
   CARD SYSTEM
   ============================================= */
.card-lipo{
    background:var(--first-color);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:0.5rem;
    padding:32px;
    color:var(--sixth-color);
}
.card-lipo h2{
    font-size:1.375rem;
    font-weight:700;
    line-height:1.25;
    margin-bottom:10px;
}
.card-lipo p{
    font-size:0.9rem;
    line-height:1.65;
    color:var(--fourth-color);
}
.card-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:100px;
    padding:4px 14px;
    font-size:0.72rem;
    letter-spacing:0.07em;
    text-transform:uppercase;
    color:var(--sixth-color);
    margin-bottom:16px;
}
.card-chip-muted{
    color:var(--fourth-color);
    background:rgba(255,255,255,0.04);
}

/* =============================================
   PATH SPLIT SECTION (RIVENDITORI)
   ============================================= */
.path-split-section{
    padding:56px 0;
}
.path-split-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
}
.partner-perks{
    list-style:none;
    padding:0;
    margin:16px 0 24px;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.partner-perks li{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:0.875rem;
    color:var(--sixth-color);
}
.partner-perks li i.fa-check-circle{
    color:#4a90d9;
}
.partner-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.form-row-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.form-meta{
    font-size:0.75rem;
    color:var(--fourth-color);
    text-align:center;
    margin:0;
}

/* =============================================
   INPUT AND BUTTON SYSTEM
   ============================================= */
.input-lipo{
    display:block;
    width:100%;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:0.375rem;
    padding:10px 14px;
    color:var(--sixth-color);
    font-size:0.875rem;
    outline:none;
    font-family:inherit;
}
.input-lipo::placeholder{
    color:var(--fourth-color);
}
.input-lipo:focus{
    border-color:rgba(255,255,255,0.28);
    background:rgba(255,255,255,0.08);
    box-shadow:0 0 0 3px rgba(255,255,255,0.04);
}
textarea.input-lipo{
    resize:vertical;
}

.btn-primary-lipo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:var(--sixth-color);
    color:var(--first-color);
    border:none;
    border-radius:0.375rem;
    padding:11px 24px;
    font-size:0.875rem;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    transition:all 200ms ease;
    white-space:nowrap;
}
.btn-primary-lipo:hover{
    background:white;
    transform:translateY(-1px);
}
.btn-primary-lipo:disabled{
    opacity:0.6;
    cursor:not-allowed;
    transform:none;
}

.btn-outline-lipo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:transparent;
    border:1px solid rgba(255,255,255,0.25);
    border-radius:0.375rem;
    padding:11px 24px;
    font-size:0.875rem;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    transition:all 200ms ease;
    white-space:nowrap;
    color:var(--sixth-color);
}
.btn-outline-lipo:hover{
    background:rgba(255,255,255,0.08);
}

.form-success{
    background:rgba(34,197,94,0.08);
    border:1px solid rgba(34,197,94,0.25);
    border-radius:0.375rem;
    padding:32px 24px;
    text-align:center;
    color:var(--sixth-color);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
}
.form-success i{
    font-size:2.5rem;
    color:#22c55e;
}

/* =============================================
   SWISS MAP (inside .private-card)
   ============================================= */
.swiss-map-container{
    position:relative;
    margin:24px 0 16px;
}
.swiss-bg-svg{
    width:100%;
    height:auto;
    display:block;
    /* dark mode: inverte il nero a bianco, poi riduce opacità */
    filter:brightness(0) invert(1) opacity(0.12);
}
[data-bs-theme="light"] .swiss-bg-svg{
    /* light mode: lascia i path neri ma molto trasparenti */
    filter:brightness(0) opacity(0.1);
}
.swiss-pins-svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    color:var(--fourth-color);
}
.canton-pin circle:first-child{
    transition:opacity 250ms ease;
}
.canton-pin:hover circle:first-child{
    opacity:0.45;
}
.canton-pin:hover circle:nth-child(2){
    fill:white;
}
.canton-pin.active circle:first-child{
    opacity:0.45;
}
.canton-pin.active circle:nth-child(2){
    fill:white;
}
.map-tooltip{
    position:absolute;
    background:var(--second-color);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:0.375rem;
    padding:8px 14px;
    font-size:0.8rem;
    color:var(--sixth-color);
    pointer-events:none;
    white-space:nowrap;
    display:none;
    z-index:10;
    top:0;
    left:50%;
    transform:translateX(-50%);
}
.map-canton-name{
    font-weight:700;
    margin-right:6px;
}
.map-canton-count{
    color:var(--fourth-color);
}
.private-search-bar{
    display:flex;
    gap:10px;
    align-items:center;
}
.private-search-bar .input-lipo{
    flex:1;
}

/* =============================================
   CATALOG SECTION
   ============================================= */
.catalog-section{
    padding:56px 0;
    background:var(--dark-second);
}
.catalog-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}
.catalog-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:100px;
    padding:4px 14px;
    font-size:0.72rem;
    letter-spacing:0.07em;
    text-transform:uppercase;
    color:var(--sixth-color);
    margin-bottom:16px;
}
.catalog-content h2{
    font-size:1.75rem;
    font-weight:700;
    line-height:1.2;
    margin-bottom:10px;
}
.catalog-content > p{
    font-size:0.9rem;
    line-height:1.65;
    color:var(--fourth-color);
    margin-bottom:20px;
}
.catalog-form{
    display:flex;
    flex-direction:column;
    gap:16px;
}
.catalog-input-row{
    display:flex;
    gap:10px;
}
.catalog-input-row .input-lipo{
    flex:1;
}
.catalog-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:0.8rem;
    color:var(--fourth-color);
    cursor:pointer;
    user-select:none;
}
.catalog-consent input[type=checkbox]{
    flex-shrink:0;
    margin-top:2px;
    cursor:pointer;
}
.catalog-meta{
    font-size:0.75rem;
    color:var(--fourth-color);
    margin:0;
    display:flex;
    align-items:center;
    gap:6px;
}
.catalog-cover{
    display:flex;
    justify-content:center;
    align-items:center;
}
.catalog-mockup{
    width:180px;
    background:linear-gradient(160deg, var(--second-color) 0%, var(--first-color) 100%);
    border-radius:8px;
    box-shadow:12px 12px 40px rgba(0,0,0,0.5);
    transform:rotate(-4deg);
    position:relative;
    overflow:visible;
}
.catalog-mockup-inner{
    padding:24px 18px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:240px;
}
.catalog-mockup-top,
.catalog-mockup-bottom{
    display:flex;
    flex-direction:column;
}
.catalog-mockup-label{
    font-size:0.68rem;
    text-transform:uppercase;
    letter-spacing:0.18em;
    color:rgba(255,255,255,0.45);
}
.catalog-mockup-year{
    font-size:2.2rem;
    font-weight:900;
    color:white;
    line-height:1;
}
.catalog-mockup-brand{
    font-size:1.4rem;
    font-weight:800;
    color:white;
}
.catalog-mockup-sub{
    font-size:0.78rem;
    color:rgba(255,255,255,0.55);
    margin-top:2px;
}
.catalog-mockup-pages{
    font-size:0.72rem;
    color:rgba(255,255,255,0.4);
    margin-top:8px;
}
.catalog-badge{
    position:absolute;
    top:-14px;
    right:-14px;
    background:#e63946;
    color:white;
    font-size:0.68rem;
    font-weight:700;
    letter-spacing:0.1em;
    text-transform:uppercase;
    padding:4px 10px;
    border-radius:100px;
    white-space:nowrap;
    box-shadow:0 2px 8px rgba(230,57,70,0.4);
}

/* =============================================
   WHY SECTION
   ============================================= */
.why-section{
    padding:56px 0;
}
.why-header{
    text-align:left;
    margin-bottom:36px;
}
.why-eyebrow{
    font-size:0.7rem;
    font-weight:700;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--accent);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}
.why-eyebrow::before{
    content:'';
    display:inline-block;
    width:24px;
    height:2px;
    background:var(--accent);
    border-radius:2px;
    flex-shrink:0;
}
.why-header h2{
    color:var(--sixth-color);
    font-size:2rem;
    font-weight:700;
    margin:0;
}
.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.why-card{
    text-align:left;
    padding:32px 28px;
}
.why-num{
    font-size:0.75rem;
    font-weight:700;
    letter-spacing:0.08em;
    color:var(--text-muted);
    background:rgba(255,255,255,0.07);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    border-radius:6px;
    margin-bottom:20px;
}
.why-card h3{
    font-size:1rem;
    font-weight:700;
    color:var(--sixth-color);
    margin-bottom:10px;
}
.why-card p{
    font-size:0.875rem;
    color:var(--fourth-color);
    line-height:1.65;
    margin:0;
}

/* =============================================
   TESTIMONIAL SECTION
   ============================================= */
.testimonial-section{
    padding:56px 0;
}
.testimonial-card{
    max-width:720px;
    margin:0 auto;
    text-align:center;
}
.testimonial-content{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.testimonial-label{
    font-size:0.7rem;
    text-transform:uppercase;
    letter-spacing:0.12em;
    color:var(--fourth-color);
    margin-bottom:20px;
}
.testimonial-quote{
    font-size:1.2rem;
    line-height:1.75;
    color:var(--sixth-color);
    font-style:italic;
    margin-bottom:24px;
    border-left:none;
    padding:0;
    background:none;
}
.testimonial-name{
    font-weight:700;
    color:var(--sixth-color);
    font-size:0.95rem;
}
.testimonial-role{
    font-size:0.8rem;
    color:var(--fourth-color);
    margin-top:4px;
}

/* =============================================
   LIGHT THEME OVERRIDES
   ============================================= */
[data-bs-theme="light"] .card-lipo{ background:#ffffff; border-color:rgba(0,0,0,0.07); color:var(--first-color); }
[data-bs-theme="light"] .input-lipo{ background:#f5f6f8; border-color:rgba(0,0,0,0.12); color:var(--first-color); }
[data-bs-theme="light"] .input-lipo::placeholder{ color:var(--fourth-color); }
[data-bs-theme="light"] .input-lipo:focus{ background:white; border-color:rgba(14,30,55,0.3); box-shadow:0 0 0 3px rgba(14,30,55,0.06); }
[data-bs-theme="light"] .btn-primary-lipo{ background:var(--first-color); color:white; }
[data-bs-theme="light"] .btn-primary-lipo:hover{ background:var(--second-color); }
[data-bs-theme="light"] .btn-outline-lipo{ border-color:rgba(14,30,55,0.25); color:var(--first-color); }
[data-bs-theme="light"] .btn-outline-lipo:hover{ background:rgba(14,30,55,0.06); }
[data-bs-theme="light"] .brands-bar{ background:var(--sixth-color); }
[data-bs-theme="light"] .brands-title{ color:var(--fourth-color); }
[data-bs-theme="light"] .brands-grid{ border-color:rgba(0,0,0,0.06); }
[data-bs-theme="light"] .stats-bar{ background:#f0f2f5; }
[data-bs-theme="light"] .stat-item{ border-right-color:rgba(0,0,0,0.08); }
[data-bs-theme="light"] .stat-icon{ background:rgba(14,30,55,0.07); color:var(--first-color); }
[data-bs-theme="light"] .stat-number{ color:var(--first-color); }
[data-bs-theme="light"] .stat-label{ color:var(--first-color); }
[data-bs-theme="light"] .stat-sub{ color:var(--fourth-color); }
[data-bs-theme="light"] .catalog-section{ background:#f0f2f5; }
[data-bs-theme="light"] .catalog-chip{ background:rgba(14,30,55,0.06); border-color:rgba(14,30,55,0.1); color:var(--first-color); }
[data-bs-theme="light"] .card-chip{ background:rgba(14,30,55,0.06); border-color:rgba(14,30,55,0.1); color:var(--first-color); }
[data-bs-theme="light"] .card-chip-muted{ color:var(--fourth-color); background:rgba(14,30,55,0.04); }
[data-bs-theme="light"] .hero-chip{ background:rgba(255,255,255,0.15); border-color:rgba(255,255,255,0.3); color:white; }
[data-bs-theme="light"] .partner-perks li{ color:var(--first-color); }
[data-bs-theme="light"] .form-meta, [data-bs-theme="light"] .catalog-meta, [data-bs-theme="light"] .catalog-consent{ color:var(--fourth-color); }
[data-bs-theme="light"] .testimonial-quote{ color:var(--first-color); }
[data-bs-theme="light"] .testimonial-name{ color:var(--first-color); }
[data-bs-theme="light"] .why-header h2{ color:var(--first-color); }
[data-bs-theme="light"] .why-card h3{ color:var(--first-color); }
[data-bs-theme="light"] .why-num{ background:rgba(14,30,55,0.06); color:var(--first-color); }
[data-bs-theme="light"] .why-eyebrow{ color:var(--first-color); }
[data-bs-theme="light"] .why-eyebrow::before{ background:var(--first-color); }
[data-bs-theme="light"] .testimonial-label{ color:var(--fourth-color); }
[data-bs-theme="light"] .map-tooltip{ background:var(--first-color); color:white; }
[data-bs-theme="light"] .map-canton-count{ color:rgba(255,255,255,0.65); }
[data-bs-theme="light"] .form-success{ background:rgba(34,197,94,0.08); border-color:rgba(34,197,94,0.3); color:var(--first-color); }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */
@media(max-width:991px){
    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .brands-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:767px){
    .path-split-grid{
        grid-template-columns:1fr;
    }
    .catalog-grid{
        grid-template-columns:1fr;
    }
    .catalog-cover{
        order:-1;
    }
    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .brands-grid{
        grid-template-columns:repeat(3,1fr);
    }
    .form-row-2{
        grid-template-columns:1fr;
    }
    .catalog-input-row{
        flex-direction:column;
    }
    .private-search-bar{
        flex-direction:column;
    }
    .private-search-bar > a{
        width:100%;
        justify-content:center;
    }
    .why-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:480px){
    .brands-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .catalog-mockup{
        width:140px;
    }
    .catalog-mockup-inner{
        min-height:190px;
    }
}
