/* Sezioni di About Us (prototipo/about-us.html). Le posizioni dei punti
   della mappa non sono qui: sono campi delle società e escono in linea. */

.stats-overlap {
    max-width: 1100px; margin: -70px auto 0; background: var(--logo-blue);
    display: grid; grid-template-columns: repeat(4, 1fr); padding: 50px 20px;
    border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.2); position: relative; z-index: 10;
}
.stat-box { text-align: center; color: white; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-box:last-child { border-right: none; }
.stat-box h3 { font-family: 'Playfair Display', serif; font-size: 48px; margin: 0; }
.stat-box p { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; margin-top: 5px; font-weight: 600; }

.content-section { padding: 120px 10%; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 70px; align-items: start; border-top: 2px solid var(--waap-crimson); }
.content-section h2 { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--logo-blue); margin-bottom: 30px; line-height: 1.2; }
.content-section p { font-size: 17px; color: #475569; text-align: justify; margin-bottom: 25px; }

.vision-card {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    padding: 50px 40px; border-radius: 16px; border-left: 4px solid var(--waap-crimson);
    box-shadow: 0 25px 50px rgba(0,0,0,0.07); position: relative;
}
.vision-card::before { content: '“'; position: absolute; top: 10px; left: 20px; font-family: 'Playfair Display', serif; font-size: 100px; color: rgba(153, 27, 27, 0.1); line-height: 1; }
.vision-card h2 { font-size: 30px; color: var(--logo-blue); position: relative; z-index: 1; }
.vision-card p {
    font-size: 18px !important;
    color: var(--text-dark) !important;
    font-style: italic;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.secretariat-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--logo-blue); color: white; min-height: 550px; }
.secretariat-text { padding: 80px 10%; display: flex; flex-direction: column; justify-content: center; }
.secretariat-text h2 { font-family: 'Playfair Display', serif; font-size: 42px; margin-bottom: 30px; }
.secretariat-text p { font-size: 18px; font-weight: 300; line-height: 1.8; opacity: 0.9; }
.secretariat-image { background-position: center center; background-size: cover; background-repeat: no-repeat; }

.network-section { padding: 20px 10% 0 10%; text-align: center; background: #fff; margin-bottom: 0; border-top: 2px solid var(--waap-crimson); }
.network-section h2 { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--logo-blue); margin-bottom: 50px; }

.map-wrapper { position: relative; max-width: 1000px; margin: 0 auto; line-height: 0; aspect-ratio: 2 / 1; }
.world-map-img { width: 100%; height: auto; display: block; opacity: 0.9; }

.pin {
    position: absolute; width: 1.4%; aspect-ratio: 1 / 1; background: var(--waap-crimson);
    border-radius: 50%; cursor: pointer; transition: 0.3s; box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.2); z-index: 5;
}
.pin::before {
    content: attr(data-label); position: absolute; bottom: 230%;
    left: 50%; transform: translateX(-50%);
    background: var(--logo-blue); color: white; padding: 12px 12px; border-radius: 4px;
    font-size: 11px; white-space: nowrap; opacity: 0; transition: 0.3s; font-weight: 600; pointer-events: none;
}
/* Punti vicini ai bordi (parts/about/rete.php): l'etichetta parte dal punto
   verso l'interno della mappa invece di essere centrata. */
.pin--destra::before { left: auto; right: 0; transform: none; }
.pin--sinistra::before { left: 0; transform: none; }
.pin:hover { transform: scale(1.3); background: var(--waap-crimson-bright); z-index: 10; }
.pin:hover::before { opacity: 1; bottom: 270%; }

@media (max-width: 1350px) {
    .content-section, .secretariat-section { grid-template-columns: 1fr; }
    .secretariat-image { height: 350px; order: -1; }
    .stats-overlap { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .content-section { padding: 80px 5%; }
}

@media (max-width: 768px) {
    .stats-overlap { margin-top: -40px; }
    .network-section { padding: 60px 5% 0 5%; }
}
