:root {
            --primary: #097bc0;
            --primary-dark: #0a5a8a;
            --secondary: #2b4a72;
            --accent: #4fc3f7;
            --light: #fafbfc;
            --white: #ffffff;
            --text-dark: #1a2332;
            --text-light: #64748b;
            --border: #e2e8f0;
            --success: #10b981;
            --warning: #f59e0b;
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
            --radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--light);
            overflow-x: hidden;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: var(--transition);
        }

        .nav-container {
            max-width: clamp(320px, 90vw, 1200px);
            margin: 0 auto;
            padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .logo {
            height: clamp(35px, 8vw, 45px);
            transition: var(--transition);
            cursor: pointer;
        }

        .logo:hover {
            opacity: 0.8;
        }

        .nav-menu {
            display: flex;
            gap: clamp(1rem, 3vw, 2rem);
            list-style: none;
        }

        .nav-link {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            padding: 0.5rem 0;
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

       

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
            color: var(--text-dark);
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: var(--transition);
        }

        .mobile-menu-btn:hover {
            background: rgba(0,0,0,0.05);
        }

        .cta-nav {
            background: var(--gradient);
            color: white;
            padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.5rem);
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: var(--shadow);
            white-space: nowrap;
            font-size: clamp(0.85rem, 1.8vw, 1rem);
        }

        .cta-nav:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .main-content {
            min-height: 100vh;
            padding-top: clamp(70px, 15vw, 80px);
        }

        .page-header {
            background: var(--gradient);
            color: white;
            padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 1.5rem);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .page-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: clamp(0.8rem, 2vw, 1rem);
            line-height: 1.2;
            position: relative;
            z-index: 1;
        }

        .page-subtitle {
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .container {
            max-width: clamp(320px, 90vw, 1200px);
            margin: 0 auto;
            padding: 0 clamp(1rem, 3vw, 1.5rem);
        }

        .section {
            padding: clamp(3rem, 8vw, 5rem) 0;
        }

        .two-column {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .box {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            border-left: 4px solid var(--primary);
        }

        .box h3 {
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }

        .box ul {
            list-style: none;
            padding: 0;
        }

        .box li {
            padding: 0.8rem 0;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
        }

        .box li:last-child {
            border-bottom: none;
        }

        .box li i {
            color: var(--success);
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .phase-card {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
        }

        .phase-number {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: var(--gradient);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .phase-title {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .alert {
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 2rem 0;
            border-left: 4px solid;
        }

        .alert-warning {
            background: #fef3c7;
            border-color: var(--warning);
            color: #92400e;
        }

        .alert-info {
            background: #dbeafe;
            border-color: var(--primary);
            color: #1e40af;
        }

        .alert-success {
            background: #d1fae5;
            border-color: var(--success);
            color: #065f46;
        }

        .table-responsive {
            overflow-x: auto;
            margin: 2rem 0;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        th {
            background: var(--gradient);
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }

        td {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
        }

        tr:last-child td {
            border-bottom: none;
        }

        tr:hover {
            background: var(--light);
        }

        .btn {
            padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: none;
            cursor: pointer;
            font-family: inherit;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--gradient);
            color: white;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }


        footer {
            background: var(--text-dark);
            color: white;
            padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 1.5rem) clamp(1rem, 2vw, 1rem);
        }

        .footer-content {
            max-width: clamp(320px, 90vw, 1200px);
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 40vw, 250px), 1fr));
            gap: clamp(1.5rem, 4vw, 2rem);
        }

        .footer-section h3 {
            margin-bottom: clamp(0.8rem, 2vw, 1rem);
            color: var(--accent);
            font-size: clamp(1.1rem, 2.5vw, 1.2rem);
        }

        .footer-section a {
            color: white;
            text-decoration: none;
            opacity: 0.8;
            transition: var(--transition);
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        .footer-section a:hover {
            opacity: 1;
            color: var(--accent);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: clamp(1.5rem, 4vw, 2rem);
            padding-top: clamp(0.8rem, 2vw, 1rem);
            text-align: center;
            opacity: 0.6;
            font-size: clamp(0.8rem, 1.8vw, 0.9rem);
        }

       @media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Nascondi pulsante desktop */
    .cta-nav {
        display: none;
    }

    /* ✅ Mostra e stilizza Area Soci mobile */
         
         .hide-desktop {
    display: none !important;
  }
    .mobile-only {
        display: block;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    .cta-mobile {
        background: var(--gradient) !important;
        color: white !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: var(--radius) !important;
        text-align: center !important;
        border: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .cta-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(9, 123, 192, 0.4);
    }

    .cta-mobile::after {
        display: none !important;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 6vw, 3rem);
        text-align: center;
    }

    .story-image {
        order: -1;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

            .content-grid {
                grid-template-columns: 1fr;
            }
        }
      
      .faq-container { max-width: 800px; margin: 3rem auto; } .faq-item { background: var(--white); border-radius: 10px; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid var(--border); } .faq-question { width: 100%; background: var(--light); border: none; padding: 1.5rem; text-align: left; cursor: pointer; font-size: 1.1rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; } .faq-question:hover { background: rgba(9, 123, 192, 0.05); } .faq-question:focus { outline: 2px solid var(--primary); outline-offset: 2px; } .faq-icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; color: var(--primary); } .faq-question.active .faq-icon { transform: rotate(45deg); } .faq-answer { max-height: 0; overflow: hidden; transition: all 0.3s ease; background: var(--white); } .faq-answer.active { max-height: 500px; padding: 1.5rem; } .faq-answer p { margin-bottom: 1rem; line-height: 1.6; } .faq-answer ul { margin-left: 1.5rem; margin-bottom: 1rem; } .faq-answer li { margin-bottom: 0.5rem; line-height: 1.5; } .faq-answer strong { color: var(--primary); } .faq-cta { background: linear-gradient(135deg, var(--light) 0%, rgba(9, 123, 192, 0.05) 100%); padding: 3rem 2rem; border-radius: 15px; text-align: center; margin-top: 4rem; border: 1px solid var(--border); } .faq-cta h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.5rem; } .faq-cta p { margin-bottom: 2rem; color: var(--text-dark); }
      
      
       /* Stili per i CTA button */
        .cta-buttons-container {
            display: flex;
            gap: 1rem;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            min-width: 200px;
            text-align: center;
            cursor: pointer;
            border: 2px solid var(--primary);
        }

        .cta-button:first-child {
            background: var(--primary);
            color: var(--white);
        }

        .cta-button:first-child:hover {
            background: #0769a3;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(9, 123, 192, 0.3);
        }

        .cta-button:last-child {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .cta-button:last-child:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(9, 123, 192, 0.3);
        }
      .btn-donate {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  margin-top: 1rem;
  background: var(--gradient); /* usa il gradient principale */
  color: #fff; /* testo bianco visibile */
  box-shadow: var(--shadow);
}
.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--primary-dark); /* leggero scurimento per effetto hover */
}
/* SMART Table Responsive */
@media (max-width: 768px) {
    .smart-table-desktop {
        display: none !important;
    }
    
 
    .smart-cards-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .smart-cards-mobile {
        display: none !important;
    }
}
      
      /* ========== CONTRIBUTOR BANNER STYLES ========== */

.contributor-banner {
    padding: clamp(3rem, 6vw, 4rem) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.contributor-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--accent) 50%, 
        var(--primary) 100%
    );
}

.contributor-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    overflow: hidden;
}

/* Label superiore */
.contributor-label {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.contributor-label i {
    font-size: 1rem;
}

/* Contenuto principale */
.contributor-content {
    padding: clamp(2rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: center;
}

/* Logo */
.contributor-logo-box {
    width: 100px;
    height: 100px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    flex-shrink: 0;
}

.contributor-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info */
.contributor-info {
    flex: 1;
    min-width: 0;
}

.contributor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.contributor-role {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.contributor-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.contributor-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contributor-contact {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contributor-contact i {
    color: var(--primary);
    font-size: 0.85rem;
}

.contributor-contact:hover {
    color: var(--primary);
}

/* CTA Box */
.contributor-cta-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(9, 123, 192, 0.2);
    text-align: center;
    min-width: 220px;
    flex-shrink: 0;
}

.contributor-cta-text {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.contributor-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-bottom: 0.75rem;
}

.contributor-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 123, 192, 0.3);
}

.contributor-benefit {
    display: block;
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 600;
}

.contributor-benefit i {
    font-size: 0.75rem;
}

/* Footer del banner */
.contributor-footer {
    background: var(--light);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

.contributor-footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contributor-footer i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .contributor-content {
        grid-template-columns: auto 1fr;
    }
    
    .contributor-cta-box {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .contributor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contributor-logo-box {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .contributor-contacts {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .contributor-cta-box {
        padding: 1.25rem;
    }
    
    .contributor-label {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }
}


/* Inline style extraction */
.inline-style-001 {
  background: white;
}
.inline-style-002 {
  color: var(--primary);
  text-decoration: underline;
}
.inline-style-003 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}
.inline-style-004 {
  font-size: 2rem;
  color: var(--primary);
  margin: 3rem 0 2rem;
}
.inline-style-005 {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.inline-style-006 {
  list-style: none;
  padding: 0;
}
.inline-style-007 {
  padding: 0.5rem 0;
  display: flex;
  gap: 0.8rem;
}
.inline-style-008 {
  color: var(--primary);
  margin-top: 0.3rem;
}
.inline-style-009 {
  color: var(--success);
  margin-top: 0.3rem;
}
.inline-style-010 {
  background: var(--light);
}
.inline-style-011 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}
.inline-style-012 {
  font-size: 2rem;
  color: var(--primary);
  margin: 3rem 0 2rem;
  text-align: center;
}
.inline-style-013 {
  max-width: 800px;
  margin: 0 auto;
}
.inline-style-014 {
  padding-left: 1.5rem;
  line-height: 2;
}
.inline-style-015 {
  margin-top: 2rem;
}
.inline-style-016 {
  text-align: center;
  margin-top: 3rem;
}
