/* Fold */

.fold {
    gap: var(--space-m);
}

.fold__header {
    width: calc(100% - 400px - var(--space-xxl));

    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--space-m);

    position: relative;

    z-index: 1;
}

.search__form {
    display: flex;
    justify-content: space-between;
    gap: var(--space-m);
}

.search__query-field-wrapper {
    width: 100%;
}

/* Results */

.results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
}

.services__link {
    width: max-content;
}

/* Services */

.services {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);

    padding-top: var(--space-m);
}

.service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
}

/* CTA */

.cta__body {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xxl);
}

.cta__message {
    text-align: center;
}

@media (max-width: 1280px) {
    /* Fold */

    .fold__header {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Results */

    .results__header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Services */

    .service {
        flex-direction: column;
        align-items: flex-start;
    }

    .service__name {
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    /* Fold */

    .search__form {
        flex-direction: column;
    }

    .search__query-field-wrapper {
        width: 100%;
    }

    .search__btn-label {
        width: 100%;

        justify-content: center;
    }
}