#indice .container p {
    text-align: center!important;
    color: var(--primary-color)!important;
    margin: 2rem 0!important;
    font-weight: 700;
}

/* --- Layout wrapper riutilizzato nelle sezioni pagina-articolo --- */
.content-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.content-wrap--narrow {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.intro-callout {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* ══ Indice rapido ══ */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.quick-nav a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1.1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    transition: box-shadow .2s, transform .2s;
}
.quick-nav a:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-1px); }
.quick-nav a i { color: var(--primary-color); font-size: 1rem; flex-shrink: 0; }

/* --- Grid di statistiche/box (4 colonne responsive) --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* --- Box scuro con numero grande (statistiche) --- */
.stat-box {
    background: #00256f;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
}
.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.stat-box p {
    margin: 0;
}
.stat-box--lg {padding:2rem}
.stat-number--lg {font-size:3rem}

/* --- Icone check nelle liste feature --- */
.icon-check {
    color: var(--accent-color);
    margin-right: 8px;
}

/* --- Sezioni alternate chiare/bianche --- */
.section-white {
    padding: 5rem 0;
    background: #ffffff;
}
.section-light {
    padding: 5rem 0;
    background: var(--bg-light);
}

/* --- Tabella dati (es. tabella scadenze solare) --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.data-table thead {
    background: var(--primary-color);
    color: white;
}
.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
}
.data-table tr {
    border-bottom: 1px solid #eee;
}
.data-table tr:last-child {
    border-bottom: none;
}

/* --- Box di avviso/evidenza (sfondo giallo, bordo accento) --- */
.warning-box {
    padding: 2rem;
    background: #fff3cd;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}
.warning-box h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Lista con icona check posizionata assolutamente --- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.check-list li:last-child {
    margin-bottom: 0;
}
.check-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.art7 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: var(--border-radius);
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.art7 h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

/* --- Wrapper largo (variante di .content-wrap) --- */
.content-wrap--lg {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- Pannello "vetro" su sfondo scuro (bordo semi-trasparente) --- */
.panel-frosted {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255,255,255,0.3);
}
.panel-frosted + .panel-frosted {
    margin-top: 2rem;
}
.panel-frosted h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}
.panel-frosted > p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* --- Box evidenziato blu con icona (es. "almeno il 55%...") --- */
.highlight-box {
    background: #0d6efd;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    margin-top: 2rem;
}
.highlight-box p {
    margin: 0;
    font-weight: 600;
}

/* --- Wrapper sezione con titolo + contenuto (margini asimmetrici) --- */
.content-wrap--section {
    max-width: 900px;
    margin: 5rem auto 3rem;
}
.content-wrap--section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* --- Wrapper per tabelle scrollabili su mobile --- */
.table-scroll {
    overflow-x: auto;
}

/* --- Modificatore warning-box con bordo rosso (invece dell'accent standard) --- */
.warning-box--alert {
    border-left: #ff6b6b 4px solid;
}

/* --- Modificatore stat-box per contenuti "piano" (testo libero, non solo numero) --- */
.stat-box--plan {
    text-align: left;
    margin-bottom: 2rem;
}
.stat-box--plan h3 {
    text-align: center;
    margin-bottom: 2rem;
}
.stat-box--plan .icon-inline {
    margin-right: 15px;
}
.stat-box--plan ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.stat-box--plan li {
    margin-bottom: 0.5rem;
}

/* --- Modificatore highlight-box compatto, impilabile --- */
.highlight-box--compact {
    padding: 1rem;
    margin-top: 1rem;
}
.highlight-box--compact p {
    font-weight: 400;
}

/* --- Titolo sezione su sfondo scuro --- */
.section-title--white {
    color: var(--white);
    margin: 3rem 0 1.5rem;
    font-size: 1.6rem;
    text-align: center;
}

.icon-check-inline {
    color: white;
    margin-right: 8px;
}

/* --- Service card: layout base già esistente, qui i modificatori --- */
.service-card--wide {
    max-width: none;
}
.service-card + .service-card {
    margin-top: 2rem;
}

/* --- Modificatore colore: rosso (rischio/allerta) --- */
.service-card--red {
    border-left: 4px solid #ed0000;
}
.service-card--red .card-icon {
    background: #ffe5e5;
}
.service-card--red .card-icon i {
    color: #ed0000;
}
.service-card--red h3 {
    color: #ed0000;
}

.service-card--blu {
    border-left: 4px solid var(--primary-color);
}
.service-card--blu .card-icon {
    background: #e3edff;
}
.service-card--blu .card-icon i {
    color: var(--primary-color);
}
.service-card--blu h3 {
    color: var(--primary-color);
}

/* --- Modificatore colore: secondario (blu chiaro) --- */
.service-card--secondary {
    border-left: 4px solid var(--secondary-color);
}
.service-card--secondary .card-icon {
    background: #e7f3ff;
}
.service-card--secondary .card-icon i {
    color: var(--secondary-color);
}
.service-card--secondary h3 {
    color: var(--secondary-color);
}

/* --- Header h4 dentro le card (rischi/opportunità) --- */
.service-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.service-card h4 + p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Sezione con gradiente primario/secondario --- */
.section-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* --- Box conclusivo scuro con lista qualificante --- */
.stat-box--list {
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}
.stat-box--list h3 {
    color: white;
    margin-bottom: 1rem;
}
.stat-box--list ul {
    list-style: none;
    padding: 0;
}
.stat-box--list li {
    margin-bottom: 0.5rem;
}
.stat-box--list li:last-child {
    margin-bottom: 0;
}

/* --- Icona check inline (non posizionata assoluta) --- */
.icon-check-inline {
    color: var(--accent-color);
    margin-right: 8px;
}

/* --- Paragrafo conclusivo enfatico --- */
.text-lead {
    font-size: clamp(0.9rem, 0.827rem + 0.364vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.nota {
    font-size: 0.85rem;
    margin-top: 1rem;
}