/* ==========================================================
   Best Startup · Home, sezioni 8-12
   ========================================================== */
.h2--upper { text-transform: uppercase; }

/* ---------- 8. Contatori ---------- */
.stats { border-bottom: 1px solid var(--line); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
    padding: 1.5rem clamp(1rem, 2.5vw, 2rem);
    border-left: 1px solid var(--line);
    display: flex; flex-direction: column; gap: .9rem;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(3.5rem, 7.5vw, 6.8rem); line-height: .9;
    letter-spacing: -0.05em; color: var(--accent);
    font-variant-numeric: tabular-nums;
}
.stat__label {
    font-family: var(--font-head); font-weight: 600;
    font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); max-width: 18ch; line-height: 1.35;
}

/* ---------- 9. Perché noi ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why__grid .forge-card { min-height: 380px; }
.why__grid .forge-card:last-child { grid-column: auto; }
.why__grid .forge-card__letter { margin-top: 0; }

/* ---------- 10. FAQ ---------- */
.faq { background: var(--bg-2); border-block: 1px solid var(--line); }
.faq__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__head .section-head__text { margin-top: 1.5rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 1.5rem 0;
    font-family: var(--font-head); font-weight: 600;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.25; letter-spacing: -0.015em;
    transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item__n { color: var(--muted); font-size: .9rem; margin-right: 1rem; }
.faq-item__q { flex: 1; }
.faq-item__icon {
    flex: none; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-strong); position: relative;
    transition: background-color .3s, border-color .3s, transform .35s var(--ease);
}
.faq-item__icon::before, .faq-item__icon::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor;
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }
.faq-item__a { padding: 0 3.5rem 1.75rem 0; color: #c4c9d1; animation: panelIn .35s var(--ease); }

/* ---------- 11. CTA finale ---------- */
.cta { overflow: hidden; text-align: center; }
.cta__glow {
    position: absolute; left: 50%; top: 50%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 255, 58, .16), transparent 60%);
    pointer-events: none;
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.cta__title { font-size: clamp(2.8rem, 8vw, 7rem); max-width: 14ch; }
.cta__text { max-width: 44ch; }

/* ---------- 12. Footer ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__claim { max-width: 38ch; color: var(--muted); line-height: 1.6; }
.footer__title {
    font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.25rem; font-weight: 600;
}
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.footer__links a, .footer__address a { text-decoration: none; color: #cfd3da; transition: color .2s; }
.footer__links a:hover, .footer__address a:hover { color: var(--accent); }
.footer__address { font-style: normal; display: flex; flex-direction: column; gap: 1rem; color: #cfd3da; }
.footer__address span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__social a {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line-strong); color: var(--text);
    transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
    padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: .88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid .forge-card { min-height: 320px; }
}

@media (max-width: 900px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .faq__layout { grid-template-columns: 1fr; }
    .faq__head { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .why__grid { grid-template-columns: 1fr; }
    .why__grid .forge-card { min-height: 0; }
    .faq-item__a { padding-right: 0; }
    .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .stats__grid { grid-template-columns: 1fr; }
    .stat { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+2) { border-top: 1px solid var(--line); }
}
