/* ═══════════════════════════════════════════════════════════
   CSIA · Pagina /servizi · sezioni complementari
   Scoped a .csia-svc-* · sezioni full-bleed
   Font: ff-din-paneuropean (body) + ff-din-paneuropean-cond (heading)
═══════════════════════════════════════════════════════════ */
:root {
    --csia-svc-cp:   #015b99;
    --csia-svc-cp-l: #1a7cb8;
    --csia-svc-cp-d: #003d61;
    --csia-svc-cs:   #00adef;
    --csia-svc-co:   #ff9700;
    --csia-svc-ct:   #181b31;
    --csia-svc-cb:   #26272d;
    --csia-svc-cm:   #737373;
    --csia-svc-ce:   #e8e8e8;
    --csia-svc-sh-sm: 0 1px 3px rgba(0,0,0,.06);
    --csia-svc-sh-md: 0 4px 8px -1px rgba(0,0,0,.09), 0 2px 4px -1px rgba(0,0,0,.05);
    --csia-svc-sh-lg: 0 12px 24px -4px rgba(0,0,0,.1), 0 4px 8px -2px rgba(0,0,0,.06);
    --csia-svc-r: 10px;
    --csia-svc-tr: 220ms ease-in-out;
    --csia-svc-accent: var(--csia-svc-cs);
    --csia-svc-body: 'ff-din-paneuropean', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --csia-svc-cond: 'ff-din-paneuropean-cond', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}

body:has(.csia-svc-section) { overflow-x: clip; }

.csia-svc-section,
.csia-svc-section * { box-sizing: border-box; }

.csia-svc-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 88px 0;
    font-family: var(--csia-svc-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--csia-svc-cb);
}

.csia-svc-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

.csia-svc-section h2,
.csia-svc-section h3,
.csia-svc-section h4,
.csia-svc-section p { margin: 0; }

.csia-svc-section h2 {
    font-family: var(--csia-svc-cond);
    font-size: clamp(40px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--csia-svc-ct);
    letter-spacing: -.005em;
}

.csia-svc-lbl {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--csia-svc-accent);
    margin-bottom: 14px;
}

.csia-svc-hd h2 { margin-top: 0; }
.csia-svc-hd-note {
    font-size: 16px;
    color: var(--csia-svc-cm);
    line-height: 1.72;
    margin-top: 16px;
    max-width: 700px;
}

/* ─── S1 · INTRO / POSITIONING ─────────────────────────── */
.csia-svc-s1 { background: #ffffff; }
.csia-svc-s1-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 64px;
    align-items: start;
    margin-top: 30px;
}
.csia-svc-s1-text p { font-size: 17px; color: var(--csia-svc-cm); line-height: 1.78; }
.csia-svc-s1-text p + p { margin-top: 16px; }
.csia-svc-s1-evid { display: flex; flex-direction: column; gap: 11px; }
.csia-svc-evid {
    display: flex; align-items: center; gap: 14px;
    border: 1.5px solid var(--csia-svc-ce);
    border-radius: 8px; padding: 15px 18px;
    transition: border-color var(--csia-svc-tr), background var(--csia-svc-tr);
}
.csia-svc-evid:hover { border-color: var(--csia-svc-accent); background: #fafbff; }
.csia-svc-evid-ic {
    width: 36px; height: 36px;
    border-radius: 7px; background: #ddf0fb;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.csia-svc-evid-ic svg { display: block; color: var(--csia-svc-cp); }
.csia-svc-evid-txt { font-size: 15px; font-weight: 600; color: var(--csia-svc-ct); line-height: 1.35; }

/* ─── S2 · MAPPA PER AREE ──────────────────────────────── */
.csia-svc-s2 { background: #f5f7fa; }
.csia-svc-aree {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; align-items: start; margin-top: 44px;
}
.csia-svc-area {
    background: #ffffff;
    border-radius: var(--csia-svc-r);
    box-shadow: var(--csia-svc-sh-md);
    padding: 26px 26px 18px;
    transition: box-shadow var(--csia-svc-tr), transform var(--csia-svc-tr);
}
.csia-svc-area:hover { box-shadow: var(--csia-svc-sh-lg); transform: translateY(-2px); }
.csia-svc-area-hd {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-bottom: 16px; border-bottom: 1px solid var(--csia-svc-ce);
}
.csia-svc-area-hd h3 {
    font-family: var(--csia-svc-cond);
    font-size: 22px; font-weight: 700; line-height: 1.15;
    color: var(--csia-svc-ct);
}
.csia-svc-area-n {
    font-size: 12px; font-weight: 700;
    color: var(--csia-svc-cp); background: #ddf0fb;
    border-radius: 99px; padding: 3px 10px;
    flex-shrink: 0;
}
.csia-svc-area-ls { display: flex; flex-direction: column; margin-top: 6px; }
.csia-svc-area-lk {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 2px; border-bottom: 1px solid #f0f0f0;
    font-size: 15px; font-weight: 500;
    color: var(--csia-svc-cb); text-decoration: none; line-height: 1.35;
    transition: color var(--csia-svc-tr), padding-left var(--csia-svc-tr);
}
.csia-svc-area-lk:last-child { border-bottom: none; }
.csia-svc-area-lk svg {
    display: block; flex-shrink: 0; color: #c4c4c4;
    transition: color var(--csia-svc-tr), transform var(--csia-svc-tr);
}
.csia-svc-area-lk:hover { color: var(--csia-svc-cp); padding-left: 6px; }
.csia-svc-area-lk:hover svg { color: var(--csia-svc-cp); transform: translateX(2px); }

/* ─── S3 · IL VALORE DELL'INTEGRAZIONE ─────────────────── */
.csia-svc-s3 { background: #f5f7fa; }
.csia-svc-s3-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px; align-items: start; margin-top: 30px;
}
.csia-svc-s3-left p { font-size: 17px; color: var(--csia-svc-cm); line-height: 1.78; }
.csia-svc-s3-left p + p { margin-top: 16px; }
.csia-svc-chk-list { display: flex; flex-direction: column; }
.csia-svc-chk {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid #e1e5ea;
}
.csia-svc-chk:first-child { border-top: 1px solid #e1e5ea; }
.csia-svc-chk-ic {
    width: 28px; height: 28px; border-radius: 50%; background: #ddf0fb;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 1px;
}
.csia-svc-chk-ic svg { display: block; color: var(--csia-svc-cp); }
.csia-svc-chk-txt { font-size: 15px; font-weight: 500; color: var(--csia-svc-ct); line-height: 1.45; }

/* ─── S4 · COME INIZIAMO UN SERVIZIO ───────────────────── */
.csia-svc-s4 { background: #ffffff; }
.csia-svc-steps { display: flex; position: relative; margin-top: 56px; }
.csia-svc-steps::before {
    content: ''; position: absolute;
    top: 21px; left: 21px; right: 21px; height: 2px;
    background: var(--csia-svc-ce); z-index: 0;
}
.csia-svc-step { flex: 1; padding-right: 28px; position: relative; }
.csia-svc-step:last-child { padding-right: 0; }
.csia-svc-step-num {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--csia-svc-cp); color: #ffffff;
    font-family: var(--csia-svc-cond);
    font-size: 17px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1; margin-bottom: 18px;
}
.csia-svc-step h4 { font-size: 17px; font-weight: 700; color: var(--csia-svc-ct); line-height: 1.3; margin-bottom: 8px; }
.csia-svc-step p { font-size: 15px; color: var(--csia-svc-cm); line-height: 1.62; }

/* ─── S5 · SETTORI SERVITI ─────────────────────────────── */
.csia-svc-s5 { background: #f5f5f5; }
.csia-svc-s5-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px; align-items: start;
}
.csia-svc-s5-grid h2 { margin-top: 0; }
.csia-svc-s5-note { font-size: 16px; color: var(--csia-svc-cm); line-height: 1.72; margin-top: 16px; }
.csia-svc-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; padding-top: 8px; }
.csia-svc-chip {
    font-size: 15px; font-weight: 600; color: var(--csia-svc-ct);
    background: #ffffff; border-radius: 99px; padding: 11px 22px;
    box-shadow: var(--csia-svc-sh-sm);
    transition: box-shadow var(--csia-svc-tr), color var(--csia-svc-tr), transform var(--csia-svc-tr);
}
.csia-svc-chip:hover { box-shadow: var(--csia-svc-sh-md); color: var(--csia-svc-cp); transform: translateY(-1px); }

/* ─── S6 · CHIUSURA / CTA ──────────────────────────────── */
.csia-svc-s6 { background: #ffffff; border-top: 1px solid var(--csia-svc-ce); }
.csia-svc-s6-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.csia-svc-s6-l h2 { font-size: clamp(34px, 3.4vw, 44px); }
.csia-svc-s6-r { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.csia-svc-s6-r p { font-size: 17px; color: var(--csia-svc-cm); line-height: 1.78; }
.csia-svc-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--csia-svc-cp); color: #ffffff !important; text-decoration: none;
    font-family: var(--csia-svc-body);
    font-size: 16px; font-weight: 700;
    border-radius: 7px; padding: 15px 30px;
    box-shadow: var(--csia-svc-sh-md);
    transition: background var(--csia-svc-tr), box-shadow var(--csia-svc-tr), transform var(--csia-svc-tr);
}
.csia-svc-btn svg { display: block; transition: transform var(--csia-svc-tr); }
.csia-svc-btn:hover { background: var(--csia-svc-cp-l); box-shadow: var(--csia-svc-sh-lg); transform: translateY(-1px); }
.csia-svc-btn:hover svg { transform: translateX(3px); }

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1080px) {
    .csia-svc-aree { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .csia-svc-s1-grid { grid-template-columns: 1fr; gap: 36px; }
    .csia-svc-s3-grid { grid-template-columns: 1fr; gap: 40px; }
    .csia-svc-s5-grid { grid-template-columns: 1fr; gap: 36px; }
    .csia-svc-s6-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
    .csia-svc-steps { flex-direction: column; gap: 30px; }
    .csia-svc-steps::before { display: none; }
    .csia-svc-step { padding-right: 0; display: flex; gap: 18px; align-items: flex-start; }
    .csia-svc-step-num { margin-bottom: 0; flex-shrink: 0; }
}
@media (max-width: 600px) {
    .csia-svc-section { padding: 56px 0; }
    .csia-svc-wrap { padding: 0 20px; }
    .csia-svc-aree { grid-template-columns: 1fr; }
}
