/* Filmato prima/dopo, con inquadrature dedicate a desktop e mobile. */
body.website-service-page .website-paths-section {
    position: relative;
    z-index: 2;
    margin-top: clamp(-128px, -10svh, -76px);
    padding: 0 var(--gutter) clamp(56px, 7vw, 88px);
    background: transparent;
}

body.website-service-page .website-paths-section__inner {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.website-process {
    width: min(1040px, 100%);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid #e2ddd5;
    border-radius: clamp(18px, 2.5vw, 30px);
    background: #fff;
    box-shadow: 0 24px 70px rgb(19 38 31 / 10%);
    color: #242622;
}

.website-process__film {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e5ded2;
}

.website-process__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.website-process__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}

.website-process__chapters {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.website-process__chapter,
.website-process__toggle {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    appearance: none;
    background: transparent;
    color: #6b6c65;
    font: inherit;
    cursor: pointer;
}

.website-process__chapter {
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.website-process__chapter:is(:hover, .is-active) {
    background: #f3eee5;
    color: #614331;
}

.website-process__chapter:focus-visible,
.website-process__toggle:focus-visible {
    outline: 2px solid #614331;
    outline-offset: 3px;
}

.website-process__toggle {
    width: 44px;
    flex: 0 0 44px;
    color: #242622;
}

.website-process__toggle:hover {
    background: #f3eee5;
}

.website-process__toggle svg {
    display: block;
    width: 20px;
    height: 20px;
}

.website-process[data-process-playing='true'] .website-process__play,
.website-process:not([data-process-playing='true']) .website-process__pause {
    display: none;
}

.website-process__toggle:disabled,
.website-process__chapter:disabled {
    opacity: 0.45;
    cursor: default;
}

body.website-service-page .website-process__caption {
    margin: 14px 0 0;
    color: #65716b;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.website-process__description {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 760px) {
    body.website-service-page .website-paths-section {
        margin-top: 0;
        padding-bottom: 54px;
    }

    .website-process {
        border-radius: 18px;
    }

    .website-process__film {
        aspect-ratio: 4 / 5;
    }

    .website-process__controls {
        gap: 4px;
        padding: 10px 8px;
    }

    .website-process__chapters {
        gap: 0;
    }

    .website-process__chapter {
        padding: 10px 5px;
        font-size: 13px;
    }
}

/* Riepilogo SEO in tema scuro, mantenendo testi e struttura semantica. */
body.website-service-page #processo {
    background: #080a09;
    color: #f4f5f2;
}

body.website-service-page #processo .scene-heading,
body.website-service-page #processo h3 {
    color: #f4f5f2;
}

body.website-service-page #processo .website-project-overview__steps li {
    border-top-color: #353b38;
}

body.website-service-page #processo .website-project-overview__number {
    color: #b7bfba;
}

body.website-service-page #processo .website-project-overview__steps p,
body.website-service-page #processo .website-project-overview__notes p {
    color: #aeb7b1;
}

body.website-service-page #processo .website-project-overview__notes {
    border-top-color: #353b38;
}
