/* ==========================================================================
   CoreForm — pagina /certificazioni/alfabetizzazione-digitale-ciad-ata
   ========================================================================== */
    :root {
        --emerald: var(--cf-primary);
        --emerald-dark: var(--cf-primary-dark);
        --slate: #1E293B;
        --slate-mid: #334155;
    }

    .ata-logo-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 50px;
        padding: 0.45rem 1rem 0.45rem 0.85rem;
        margin-bottom: 1.5rem;
        backdrop-filter: blur(6px);
    }
    .ata-logo-pill .pill-brand { font-size: 0.85rem; font-weight: 800; color: rgba(255,255,255,0.9); letter-spacing: 0.05em; }
    .ata-logo-pill .pill-sep   { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; color: rgba(255,255,255,0.45); text-transform: uppercase; }

    .ata-price-pill {
        display: inline-flex;
        align-items: baseline;
        gap: 0.5rem;
        background: rgba(232,44,108,0.18);
        border: 1px solid rgba(232,44,108,0.4);
        border-radius: 50px;
        padding: 0.5rem 1.25rem;
        margin-bottom: 0.75rem;
    }
    .ata-price-new { font-size: 1.8rem; font-weight: 900; color: #FF7AA8; line-height: 1; }
    .ata-price-old { font-size: 1rem; color: rgba(255,255,255,0.4); text-decoration: line-through; }

    .ata-stat-card {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 16px;
        padding: 1.4rem 1rem;
        text-align: center;
        backdrop-filter: blur(10px);
    }
    .ata-stat-number { font-size: 2rem; font-weight: 800; line-height: 1; color: #fff; }
    .ata-stat-label  { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.4rem; }

    /* ---- Labels & titles ---- */
    .ci-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-dark); margin-bottom: 0.5rem; }
    .ci-title  { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--slate); line-height: 1.25; }

    /* ---- Feature strip ---- */
    .ci-features { background: #f8fafc; border-top: 3px solid var(--emerald); padding: 2.5rem 0; }
    .ci-feature-item { text-align: center; padding: 1.25rem 1rem; position: relative; }
    .ci-feature-item + .ci-feature-item::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: #e5e7eb; }
    @media (max-width: 991px) { .ci-feature-item + .ci-feature-item::before { display: none; } }
    .ci-feature-icon { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 0.8rem; }
    .ci-feature-icon.blue   { background: #dbeafe; color: #1d4ed8; }
    .ci-feature-icon.green  { background: #FCE7F0; color: var(--cf-primary-dark); }
    .ci-feature-icon.amber  { background: #fef3c7; color: #d97706; }
    .ci-feature-icon.purple { background: #ede9fe; color: #7c3aed; }
    .ci-feature-title { font-size: 0.92rem; font-weight: 700; color: var(--slate); margin-bottom: 0.25rem; }
    .ci-feature-desc  { font-size: 0.82rem; color: #6b7280; line-height: 1.6; margin: 0; }

    /* ---- Benefit list ---- */
    .benefit-list { list-style: none; padding: 0; margin: 0; }
    .benefit-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        font-size: 0.95rem;
        color: var(--slate-mid);
        padding: 0.85rem 0;
        border-bottom: 1px solid #f3f4f6;
        line-height: 1.5;
    }
    .benefit-list li:last-child { border-bottom: none; }
    .benefit-icon {
        width: 30px; height: 30px;
        background: #FCE7F0;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        color: var(--emerald-dark);
        font-size: 0.85rem;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }

    /* ---- Area mini cards (DigComp 2.2) ---- */
    .area-mini {
        height: 100%;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 1.1rem 1.2rem;
        transition: box-shadow .2s, border-color .2s;
    }
    .area-mini:hover { border-color: #bbf7d0; box-shadow: 0 4px 16px rgba(232,44,108,0.1); }
    .area-mini-num {
        width: 30px; height: 30px; border-radius: 8px;
        background: #FCE7F0; color: var(--emerald-dark);
        font-size: .8rem; font-weight: 800;
        display: flex; align-items: center; justify-content: center;
        margin-bottom: .6rem;
    }
    .area-mini h4 { font-size: .92rem; font-weight: 700; color: var(--slate); margin-bottom: .25rem; }
    .area-mini p  { font-size: .82rem; color: #6b7280; line-height: 1.5; margin: 0; }

    /* ---- Steps ---- */
    .ci-step { display: flex; gap: 1.25rem; align-items: flex-start; }
    .ci-step-num { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); color: #fff; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 16px rgba(232,44,108,0.3); }
    .ci-step-body h4 { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 0.3rem; }
    .ci-step-body p  { font-size: 0.88rem; color: #6b7280; line-height: 1.6; margin: 0; }
    .ci-step-connector { width: 2px; height: 28px; background: linear-gradient(to bottom, rgba(232,44,108,0.3), transparent); margin-left: 23px; }

    /* ---- ACCREDIA strip ---- */
    .accredia-strip {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        border: 1px solid #bbf7d0;
        border-radius: 16px;
        padding: 1.5rem 1.75rem;
        display: flex; align-items: center; gap: 1rem;
    }

    /* ---- FAQ ---- */
    .faq-wrap { border: none; border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); overflow: hidden; padding: 0 1.5rem; background: #fff; }
    .faq-item { border: none; border-bottom: 1px solid #f3f4f6; }
    .faq-item:last-child { border-bottom: none; }
    .faq-item .accordion-button { font-size: 0.95rem; font-weight: 600; color: var(--slate); background: transparent; box-shadow: none; padding: 1.25rem 0; }
    .faq-item .accordion-button:not(.collapsed) { color: var(--emerald-dark); background: transparent; }
    .faq-item .accordion-body { padding: 0 0 1.25rem; font-size: 0.9rem; color: #4b5563; line-height: 1.7; }

    /* ---- CTA section ---- */
    .ci-cta-section { background: linear-gradient(135deg, var(--slate) 0%, #0f172a 100%); border-radius: 24px; padding: 3rem 2.5rem; color: #fff; text-align: center; }
    .ci-cta-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; color: #fff; }
    .ci-cta-section p { opacity: 0.75; margin-bottom: 1.75rem; font-size: 0.95rem; max-width: 480px; margin-left: auto; margin-right: auto; color: #fff; }

    /* ---- Sidebar ---- */
    .sidebar-card { border: none; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
    @media (min-width: 992px) { .sidebar-sticky { position: sticky; top: 90px; } }

    /* ---- Contact strip ---- */
    .contact-strip {
        background: var(--slate);
        border-radius: 20px;
        padding: 2rem;
        color: rgba(255,255,255,0.85);
    }
    .contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; padding: 0.5rem 0; }
    .contact-item i { width: 20px; text-align: center; color: var(--emerald); flex-shrink: 0; }

    @media (max-width: 767px) {
        .accredia-strip { flex-direction: column; align-items: flex-start; }
        .ci-cta-section { border-radius: 16px; padding: 2rem 1.5rem; }
    }
