.af-fatturato-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.af-fatturato-item {
    flex: 1 1 calc(25% - 1.125rem);
    text-align: center;
    /*background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    padding: 2rem 1rem;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

.af-fatturato-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    transition: left 0.6s;
}

.af-fatturato-item:hover::before { left: 100%; }
.af-fatturato-item:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }

.af-anno {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.af-valore {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: #1e3a8a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0.5rem 0;
}

.af-fatturato-wrapper.animated .af-valore {
    opacity: 1;
    transform: translateY(0);
}

.af-sottotitolo {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.25rem;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.af-fatturato-wrapper.animated .af-sottotitolo {
    transform: translateY(0);
}

.af-valore.animating { color: #3b82f6 !important; }

/* Responsive */
@media (max-width: 1024px) {
    .af-fatturato-item { flex: 1 1 calc(50% - 0.75rem); }
    .af-valore { font-size: 4rem; }
}

@media (max-width: 768px) {
    .af-fatturato-wrapper { flex-direction: column; gap: 1.5rem; }
    .af-fatturato-item { flex: none; max-width: 400px; margin: 0 auto; }
    .af-valore { font-size: 3.5rem; }
}

@media (max-width: 480px) {
    .af-valore { font-size: 2.75rem; }
}
