/* ================================================
   STAMPATI HUB — stili dedicati
   ================================================ */

/* HERO */
#hero-stampati {
    min-height: 65vh;
    background: var(--ink);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 64px;
    overflow: hidden;
    position: relative;
}
#hero-stampati::before {
    content: '';
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.018) 39px, rgba(255,255,255,0.018) 40px);
    pointer-events: none;
}
.st-hero-chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.st-chip {
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65);
    padding: .45rem 1rem; font-size: .72rem; letter-spacing: .08em;
    text-transform: uppercase; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 2px;
}

/* FEATURES STRIP */
.st-features {
    background: var(--green);
    padding: 3.5rem 5rem;
    display: flex; align-items: center; gap: 0;
}
.st-feat {
    flex: 1; padding: 0 2.5rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.st-feat:last-child { border-right: none; }
.st-feat-ico { font-size: 1.6rem; margin-bottom: .75rem; color: rgba(255,255,255,0.7); }
.st-feat-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.st-feat-desc { font-size: .8rem; color: rgba(255,255,255,0.6); line-height: 1.5; font-weight: 300; }

/* CATEGORIE */
.st-categorie { background: var(--paper); }
.st-cat-intro { text-align: center; margin-bottom: 3rem; }
.st-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(15,26,14,0.1);
}
.st-cat-card {
    background: var(--paper);
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 320px;
    position: relative; overflow: hidden;
    transition: background .3s;
    text-decoration: none; color: inherit;
}
.st-cat-card:hover { background: var(--ink); }
.st-cat-card:hover .st-cc-title { color: #fff; }
.st-cat-card:hover .st-cc-desc { color: rgba(255,255,255,0.5); }
.st-cat-card:hover .st-cc-tag { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); }
.st-cat-card:hover .st-cc-num { color: rgba(255,255,255,0.04); }
.st-cat-card:hover .st-cc-icon { color: var(--gold); }
.st-cat-card:hover .st-cc-arrow { opacity: 1; transform: translateX(0); }
.st-cat-card:hover .st-cc-visual { opacity: .5; }

.st-cc-content {
    padding: 3rem 2.5rem;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 2;
}
.st-cc-num {
    font-family: var(--serif); font-size: 5rem; font-weight: 900;
    color: rgba(15,26,14,0.04);
    position: absolute; top: .5rem; right: .5rem;
    line-height: 1; transition: color .3s; pointer-events: none;
}
.st-cc-icon { font-size: 2rem; color: var(--green-mid); margin-bottom: 1.2rem; transition: color .3s; }
.st-cc-title {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
    color: var(--ink); margin-bottom: .5rem; line-height: 1.15; transition: color .3s;
}
.st-cc-desc {
    font-size: .88rem; color: var(--muted); line-height: 1.65;
    font-weight: 300; transition: color .3s; margin-bottom: 1.2rem;
}
.st-cc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.st-cc-tag {
    font-size: .65rem; letter-spacing: .07em; text-transform: uppercase;
    padding: .22rem .55rem; background: rgba(15,26,14,0.07);
    color: var(--green); border-radius: 2px; transition: all .3s;
}
.st-cc-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .75rem; font-weight: 500; letter-spacing: .1em;
    text-transform: uppercase; color: var(--green-mid);
    opacity: 0; transform: translateX(-8px);
    transition: opacity .25s, transform .25s, color .2s;
}
.st-cat-card:hover .st-cc-arrow { color: var(--green-light); }
.st-cc-visual {
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    padding: 0; transition: opacity .3s; position: relative; overflow: hidden;
}
.st-cc-visual img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    transition: transform .5s ease;
}
.st-cat-card:hover .st-cc-visual img { transform: scale(1.05); }

/* PERCHÉ */
.st-perche { background: var(--ink); }
.st-perche-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: rgba(255,255,255,0.06); margin-top: 3rem;
}
.st-pc-card { background: #111a10; padding: 2.5rem 2rem; transition: background .25s; }
.st-pc-card:hover { background: #0a1209; }
.st-pc-ico { font-size: 1.8rem; color: var(--green-light); margin-bottom: 1rem; }
.st-pc-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.st-pc-desc { font-size: .85rem; color: rgba(255,255,255,0.5); line-height: 1.6; font-weight: 300; }

/* CTA */
.st-cta {
    background: var(--green-mid); padding: 4rem 5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 3rem; flex-wrap: wrap;
}
.st-cta-text h2 { font-family: var(--serif); font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 700; color: #fff; margin-bottom: .5rem; line-height: 1.15; }
.st-cta-text p { font-size: .95rem; color: rgba(255,255,255,0.7); font-weight: 300; }
.st-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }
.st-cta-w { display: inline-block; background: #fff; color: var(--green); padding: .85rem 2rem; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: background .2s; }
.st-cta-w:hover { background: var(--cream); color: var(--green); }
.st-cta-o { display: inline-block; border: 1.5px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); padding: .85rem 2rem; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.st-cta-o:hover { border-color: #fff; color: #fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .st-features { padding: 3rem 2rem; }
    .st-cta { padding: 3rem 2rem; }
    .st-perche-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    #hero-stampati { grid-template-columns: 1fr; }
    .st-features { flex-direction: column; padding: 3rem 1.5rem; gap: 2rem; }
    .st-feat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0 0 2rem; }
    .st-feat:last-child { border-bottom: none; padding-bottom: 0; }
    .st-cat-grid { grid-template-columns: 1fr; }
    .st-cat-card { grid-template-columns: 1fr; min-height: auto; }
    .st-cc-visual { height: 160px; }
    .st-perche-grid { grid-template-columns: 1fr; }
    .st-cta { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem; }
}
