/*
 * LA RIPARERIA — discovery.css
 * Copyright (c) 2026 Noccioli Carlo — Noccioli Tecnologie Srl.
 * Tutti i diritti riservati.
 * File CSS documentato e indentato; selettori e dichiarazioni invariati.
 */
/* LA RIPARERIA · v1.4 · Pagine multibrand e percorsi di scelta.
   Unica origine per questi componenti. Copyright 2026 Carlo Noccioli. */
.brand-catalog {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}
.brand-entry {
    min-width: 0;
    padding: clamp(20px,2.3vw,32px);
    border-radius: 19px;
    border: 1px solid #dce5d9;
    background: #f8faf5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.brand-entry h3 {
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
    margin: 0;
}
.brand-entry p {
    font-size: 14px;
    line-height: 1.65;
    color: #516055;
    margin: 0 0 10px;
}
.brand-entry .text-link {
    margin-top: auto;
    font-size: 14px;
}
.brand-wordmark {
    display: block;
    min-height: 44px;
    align-content: center;
    font-weight: 900;
    font-size: clamp(20px,2vw,29px);
    letter-spacing: -.045em;
    color: #233c2d;
    overflow-wrap: anywhere;
}
.brand-disclaimer,.brand-subnote {
    font-size: 12px;
    color: #627266;
    line-height: 1.6;
    margin-top: 22px;
}
.feature-photo {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1.65;
    object-fit: cover;
    border-radius: 20px;
}
.problem-directory {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}
.problem-entry {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: clamp(20px,3vw,35px);
    border: 1px solid #dfe8da;
    border-radius: 20px;
    background: #f9fbf6;
    min-width: 0;
}
.problem-entry h2 {
    font-size: clamp(21px,2.1vw,28px);
    line-height: 1.2;
    letter-spacing: -.035em;
    margin: 0 0 13px;
}
.problem-entry p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b594e;
}
.problem-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d2f39b;
    color: #243a1f;
    font-weight: 900;
}
.problem-tip {
    padding: 12px 15px;
    background: #edf3e4;
    border-radius: 12px;
}
.problem-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 18px;
}
.path-steps,.business-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}
.path-steps article,.business-grid article {
    padding: clamp(18px,2.2vw,30px);
    border-radius: 20px;
    background: #f4f8ee;
    min-width: 0;
}
.path-steps span,.business-grid span {
    font-size: 29px;
    font-weight: 850;
    color: #44651e;
}
.path-steps h2,.business-grid h2 {
    font-size: clamp(20px,1.9vw,25px);
    letter-spacing: -.03em;
    line-height: 1.2;
    margin: 15px 0;
}
.path-steps p,.business-grid p {
    font-size: 14px;
    line-height: 1.7;
    color: #4e5d52;
}
.shipping-note {
    padding: 22px 25px;
    margin-top: 24px;
    background: #edf2e8;
    border-left: 4px solid #8bbd43;
    border-radius: 12px;
    line-height: 1.7;
}
.home-problem-pick {
    background: #f6f8f3;
}
.home-problem-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}
.home-problem-grid article {
    position: relative;
    background: white;
    border: 1px solid #e1e9dc;
    border-radius: 18px;
    padding: 24px;
    min-width: 0;
}
.home-problem-grid article>span {
    display: inline-grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #d7f5aa;
    color: #314923;
    font-weight: 900;
    margin-bottom: 12px;
}
.home-problem-grid h3 {
    font-size: clamp(18px,1.5vw,22px);
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 0 0 10px;
}
.home-problem-grid p {
    font-size: 14px;
    line-height: 1.65;
    color: #526054;
    margin: 0;
}
.home-more-link {
    margin-top: 26px;
}
.home-brands {
    background: #fff;
}
.home-brand-strip {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 12px;
}
.home-brand-strip span {
    min-width: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px 10px;
    border: 1px solid #e0e7dc;
    border-radius: 14px;
    background: #f7faf5;
    color: #274130;
    font-size: clamp(14px,1.4vw,19px);
    font-weight: 850;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.home-business-banner {
    background: #15231b;
    color: white;
    overflow: hidden;
}
.home-business-split {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(20px,4vw,60px);
    align-items: center;
    padding-top: clamp(40px,5vw,78px);
    padding-bottom: clamp(40px,5vw,78px);
}
.home-business-split h2 {
    font-size: clamp(34px,4vw,55px);
    letter-spacing: -.045em;
    line-height: 1.08;
    color: white;
    margin: 15px 0 20px;
}
.home-business-split p:not(.eyebrow) {
    color: #dce6dc;
    line-height: 1.7;
    font-size: 16px;
}
.home-business-split img {
    display: block;
    width: 100%;
    height: clamp(260px,29vw,390px);
    object-fit: cover;
    border-radius: 20px;
}
.service-navigation-pills {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}
.service-navigation-pills a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #dfebd6;
    border-radius: 16px;
    font-weight: 700;
    line-height: 1.45;
}
.service-navigation-pills a:hover {
    background: #ddf4bf;
}
@media(max-width:980px) {
    .brand-catalog,.home-problem-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .path-steps,.business-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .home-brand-strip {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
}
@media(max-width:700px) {
    .problem-directory,.home-business-split,.service-navigation-pills {
        grid-template-columns: 1fr;
    }
    .home-business-split img {
        height: 260px;
    }
    .home-brand-strip {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .home-brand-strip span:last-child:nth-child(odd) {
        grid-column: 1/-1;
    }
    .home-business-split {
        gap: 25px;
    }
    .home-business-split .actions {
        display: flex;
        flex-wrap: wrap;
    }
}
@media(max-width:520px) {
    .brand-catalog,.home-problem-grid,.path-steps,.business-grid {
        grid-template-columns: 1fr;
    }
    .problem-entry {
        gap: 12px;
    }
    .problem-symbol {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }
    .home-brand-strip span {
        padding: 14px 8px;
    }
    .home-problem-grid article {
        padding: 20px;
    }
}
