/* Servizi: one editorial row per service, image and copy alternating sides. */

.sv-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sv-index a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px var(--ink-line);
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow .2s, background-color .2s;
}

.sv-index a:hover {
    box-shadow: inset 0 0 0 2px var(--ink);
}

.sv {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px clamp(32px, 6vw, 112px);
    scroll-margin-top: calc(var(--hdr) + 24px);
}

.sv + .sv {
    margin-top: clamp(64px, 9vw, 136px);
}

.sv:nth-of-type(even) .sv__img {
    order: 2;
}

.sv__img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.sv__copy {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.sv__copy h3 {
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    line-height: .95;
}

.sv__short {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    font-weight: 600;
    line-height: 1.35;
    max-width: 34ch;
}

.sv__copy > p:not(.sv__short) {
    max-width: 52ch;
}

.on-ink .sv__copy > p:not(.sv__short) {
    color: var(--on-ink-muted);
}

.sv-group:not(.on-ink) .sv__copy > p:not(.sv__short) {
    color: rgba(242, 240, 236, .72);
}

.sv__points {
    display: grid;
    gap: 10px;
    margin: 4px 0 10px;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.sv__points li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
}

.sv__points .br {
    width: 24px;
    height: 20px;
    margin-top: 2px;
    stroke-width: 6;
}

/* ---------- Facts and the last ask ---------- */

.sv-facts__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px clamp(16px, 2vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.sv-facts__list li {
    display: grid;
    align-content: start;
    gap: 8px;
    padding-top: 18px;
    border-top: 2px solid var(--ink);
}

.sv-facts__list .ico {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.sv-facts__list b {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.05;
}

.sv-facts__list span {
    color: rgba(242, 240, 236, .72);
    font-size: .9375rem;
}

.sv-facts__ask {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: clamp(64px, 8vw, 112px);
    padding-block: clamp(28px, 3vw, 44px);
    border-block: 2px solid var(--ink);
}

.sv-facts__q {
    font-family: var(--fd);
    font-variation-settings: var(--fd-var);
    font-weight: 800;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    line-height: 1;
    max-width: none;
}

@media (max-width: 1080px) {
    .sv-facts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sv {
        grid-template-columns: 1fr;
    }

    .sv:nth-of-type(even) .sv__img {
        order: 0;
    }
}

@media (max-width: 640px) {
    .sv-facts__list {
        grid-template-columns: 1fr;
    }
}
